Closed gullerya closed 12 months ago
According to Deque Axe - accessibility automation tool role toolbar SHOULD NOT be used on element section.
toolbar
section
Yet, this is the current usage in the mwc-top-app-bar component (which seemingly goes back to the Material Design approach).
mwc-top-app-bar
According to this W3 document role toolbar MAY be used on div element, for example.
div
Please consider replacing (or rearranging) the DOM structure to allow passing the a11y tests of axe, which is quite a standard in the industry.
Note: same applies to the mwc-top-app-bar-fixed component.
mwc-top-app-bar-fixed
Thanks for the feedback. This construction with <section role="tooltip"> is directly from the MDC top app bar, as you noticed, so I'll have to double check what a more appropriate element would be there.
<section role="tooltip">
According to Deque Axe - accessibility automation tool role
toolbar
SHOULD NOT be used on elementsection
.Yet, this is the current usage in the
mwc-top-app-bar
component (which seemingly goes back to the Material Design approach).According to this W3 document role
toolbar
MAY be used ondiv
element, for example.Please consider replacing (or rearranging) the DOM structure to allow passing the a11y tests of axe, which is quite a standard in the industry.