eBay / ebayui-core-react

eBayUI React components
https://opensource.ebay.com/ebayui-core-react/main/
MIT License
28 stars 31 forks source link

fix: removes unnecessary 'role' in <section ...> elements #356

Closed rglombov closed 2 months ago

rglombov commented 2 months ago

According to https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/region_role#prefer_html, it is not necessary to specify role to <section> elements.

abiyasa commented 2 months ago

As discussed on Slack with eBay Skin and accessibility team, we will keep both <section> and role-region even though it's redundant:

I am closing this ticket as won't fix/change.