Foundation-sites: Accordion Menu -- 'aria-multiselectable' is not an allowed attribute for aria role 'menu'

Created on 22 May 2017  路  11Comments  路  Source: foundation/foundation-sites

The accordion menu adds role="menu" for the <ul> and adds the aria-multiselectable="true" attribute, which is not allowed for the 'menu' role.

See: https://www.w3.org/TR/wai-aria/states_and_properties#aria-multiselectable

accessibility

Most helpful comment

Sorry - @IamManchanda has it right - for the 6.3.2 release since it's not a breaking change

All 11 comments

Dang!!
cc @kball @Owlbertz

@ctcpip An accordion is a tablist btw .... just that being used in menu.
Marius what do you think about this ??

Refering to my comment for a pending PR, in my opinion menu is the wrong role for that case. If tree would be used as I suggested, aria-multiselectable would be working as intended.

In that case @kball .... Shall we make a point fix for 6.3.2 if that PR and suggestion will take some time??

6.4 is the next release - so it would be best to make this a separate update to use the role="tree"

@Owlbertz Are you able to submit this as a PR against the develop branch?

Yeah.

Sorry - @IamManchanda has it right - for the 6.3.2 release since it's not a breaking change

Wow. Awesome response time! Looking forward to the fix. Didn't want to submit a PR because there are different ways to resolve this. Thanks everyone.

Thanks @ctcpip
Yes We are Yetis and Yetis are awesome! :wink:


Update: Fixed in #10064

PR merged thanks @Owlbertz !

@ctcpip Thanks for the report and No worries - you can submit a pr and we'll offer suggestions or you can offer a suggestions and we'll guide you!

Was this page helpful?
0 / 5 - 0 ratings