Active
Project:
Drupal core
Version:
main
Component:
comment.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Jun 2014 at 20:30 UTC
Updated:
29 May 2023 at 21:05 UTC
Jump to comment: Most recent
Comments
Comment #1
terrill commentedThere are only six headings in HTML but you can also use role="heading" and aria-level="7" or beyond. Current versions of JAWS, NVDA, and VoiceOver all support aria-level, but support is relatively new so for browsers that don't support it I think it still best to use HTML headings down to H6.
Comment #2
mgiffordThe use of
aria-level="n"would make it much easier.I'm trying to find ways to make this easier. D8 won't be out till 2015 at this point anyways. Most won't be deploying it till 2016. We'll have time for many screen reader users to catch up.
So
<h2 aria-level="8"></h2>would probably still be considered an H2.Using actual H2-H6 is just going to be a styling nightmare.
I'd suggest we drop the HTML heading & go with
<div role="heading" aria-level="8"></div>.Might also be an issue to think ahead to for D9. Not sure.
Is anyone else doing this?
Comment #3
mgiffordJust came across this and thought it was interesting:
https://github.com/ThePacielloGroup/html5-h
Comment #4
mgiffordComment #5
mgiffordComment #10
ivan berezhnov commentedComment #22
mgiffordLooks like https://www.w3.org/WAI/WCAG21/Understanding/name-role-value