googlearchive / paper-tabs

A tabs à la Material Design
22 stars 21 forks source link

a11y - tab role prevents reading anchor text #63

Open robdodson opened 9 years ago

robdodson commented 9 years ago

If you have a paper-tab with an anchor inside of it, and the tab sets a role of "tab" on itself, the anchor text will no longer be read by a screenreader. Instead it will just say "tab". One solution is to set role="" which will give the paper-tab an empty roll, allowing it to read the anchor, but fundamentally this feels like an annoying workaround.