Opened 9 years ago
Closed 9 years ago
#34288 closed defect (bug) (fixed)
#a11y-headings - the Theme Browser modal dialog headings
Reported by: | afercia | Owned by: | afercia |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 4.3 |
Component: | Themes | Keywords: | has-patch |
Focuses: | ui, accessibility | Cc: |
Description
The Theme Browser modal dialog uses some headings for the "Theme name", "By author", and for the "Update Available" notice. See screenshot below:
While the headings hierarchy is formally correct (there are no skipped levels), headings should preferably be used to mark sections with some content.
Specifically, I'm not sure the "By author" should be a heading in the first place and the update notice shouldn't be a sub-heading under the "By author" H3.
I'd propose to change "By author" in a paragraph and bump up the update notice from H4 to H3.
Please notice there's an ongoing discussion in the accessibility team about the first heading within modal dialogs. We're currently investigating if it should be a H1, but this issue would need its own separate ticket.
#a11y-headings
The proposed patch tries to improve semantics for the main elements in the Theme Browser dialog, changing "By author" in a paragraph and bumping up the Update notice from a H4 to a H3 heading. As far as I see there are no visual changes.