[Webkit-unassigned] [Bug 195010] AX: <headers> need to obey scoping role changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 21 14:49:59 PDT 2020


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

Yakim <yakimvanzuijlen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yakimvanzuijlen at gmail.com

--- Comment #4 from Yakim <yakimvanzuijlen at gmail.com> ---
I encountered the same problem. In the following bug report I read that the banner role will only be removed from a <header> element if it is nested in an <article> or <section>: https://bugs.webkit.org/show_bug.cgi?id=78992
I have tested this and can verify that this behaviour seems to still seems to be in place. 

Looking at the Banner page on the ARIA Landmarks example website it defines the following - https://w3c.github.io/aria-practices/examples/landmarks/banner.html:

- The HTML header element defines a banner landmark when its context is the body element.
- The HTML header element is not considered a banner landmark when it is descendant of any of following elements:
 - article
 - aside
 - main
 - nav
 - section

It seems that <aside>, <main>, <nav>, and <section> are ignored when considering if a <header> element should have a role of banner.

Tested with macOS 10.15.5, Safari 13.1.1

-- 
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/20200721/9641c065/attachment.htm>


More information about the webkit-unassigned mailing list