carbon-design-system / carbon-for-ibm-dotcom

Carbon for IBM.com is based on the Carbon Design System for IBM
https://www.ibm.com/standards/carbon/
Apache License 2.0
264 stars 157 forks source link

[Masthead/Footer] Accessibility - The element with "listitem" role is not contained in or owned by an element with one of the following WAI-ARIA roles: "directory, list" - DDS Consulting #6887

Closed abhin07 closed 3 years ago

abhin07 commented 3 years ago

IBM Equal Access Accessibility Checker The element with "listitem" role is not contained in or owned by an element with one of the following WAI-ARIA roles: "directory, list"

Element that has a problem

<dds-megamenu-top-nav-menu style="--dds-ce--viewport-width:1807.5px;" role="listitem" data-autoid="dds--masthead__l0-nav--nav0" trigger-content="Products & Solutions" menu-label="Products & Solutions">

RobertaJHahn commented 3 years ago

@Praveen-sr Could you work with Ram to see whether this bug found by the IBM Accessibility Tracker is valid. If it is, could you let us know what the priority would be? Thanks.

Praveen-sr commented 3 years ago

Expected fix: Provide list role for the parent element of the mentioned list item.

andy-blum commented 3 years ago

I'm pretty sure this was already fixed by #6911

proeung commented 3 years ago

@andy-blum Thanks for taking a look at this issue.

@annawen1 @jeffchew Can you take a look and close out this issue if the fixes have been accounted for within PR #6911?