-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace h2 in empty content with h1 #513
Comments
Turns out this is not as easy as i thought it was. The component used here is an |
There should be one: https://github.com/nextcloud/server/blob/c10317f7f9f53a4de464915f754896eed7f1ee6c/core/templates/layout.user.php#L126-L128 |
I'm pretty sure there's none in our case: I think that's because we are using our own template. |
TemplateResponse should still extend the server layouts AFAIK |
Looks like we are repacing the entire So we probably should stop doing that. |
Whoops. Good catch! |
Looks like replacing So i will continue trying to turn the h2 into an h1. |
Please pay attention on this existing ticket: nextcloud/server#35626 (comment), nextcloud/server#35626 (comment). I already working on replacing headings in meaningful way. I haven't touched Collective apps yet, but probably would have a solution for all apps. |
On the initial landing page there is no heading of level one (
h1
). The landing page heading ish2
at the moment.For good accessibility with screen readers it's recommended to not skip heading levels and therefore start with an
h1
:Screenshot ("Collectives" is the h2):
Originally posted by @mspae in #159 (comment)
The text was updated successfully, but these errors were encountered: