[Webkit-unassigned] [Bug 242685] New: AX: Header elements inside main elements should not be banner landmarks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 13 03:22:54 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=242685

            Bug ID: 242685
           Summary: AX: Header elements inside main elements should not be
                    banner landmarks
           Product: WebKit
           Version: Safari 15
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: hartman.wiki at gmail.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

Per https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header
and https://www.w3.org/WAI/ARIA/apg/example-index/landmarks/HTML5.html

<header> should carry the banner landmark role, when in context of the body element. The header element is not a banner landmark when it is a descendant of the following HTML sectioning elements: article, aside, main, nav, section.

This is not currently how VoiceOver + Safari implements this. Any header element seems to generate a landmark banner role, irrespective of being positioned inside of article, aside, main, nav, section elements.

Interestingly this is correctly implemented for sections. As you can detect with the rotor and landmark navigation in the the included example, the header element inside of a main is presented as a landmark, yet the header inside of a section is NOT a banner landmark in the landmark navigation.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220713/e04a755d/attachment.htm>


More information about the webkit-unassigned mailing list