samsono / Easy-Responsive-Tabs-to-Accordion

Easy responsive tabs - is a lightweight jQuery plugin which optimizes normal horizontal or vertical tabs to accordion on multi devices like: web, tablets, Mobile (IPad & IPhone). This plugin adapts the screen size and changes its action accordingly.
Other
604 stars 259 forks source link

Misuse of ARIA #76

Open AntoniusGolly opened 8 years ago

AntoniusGolly commented 8 years ago

aria-labelledby and aria-controls do not reference valid Id's

llahnoraa commented 6 years ago

+1

nmillin commented 6 years ago

Added

$tabItem.attr('id', 'tab_item-' + (count));

After

$tabItem.attr('aria-controls', 'tab_item-' + (count));

In easyResponsiveTabs.js. Now there are valid ids. It doesn't look like this project is being updated :( so I'm not going to submit a PR.