mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 11:02:46 +08:00
A11Y: Add aria-label to menu tabs (#27071)
* Update menu-tab.hbs * Update menu-tab.hbs * linting
This commit is contained in:
parent
aa1b874f1a
commit
875a413164
|
@ -4,6 +4,7 @@
|
|||
id={{this.id}}
|
||||
tabindex={{this.tabIndex}}
|
||||
title={{@tab.title}}
|
||||
aria-label={{@tab.title}}
|
||||
aria-selected={{if this.isActive "true" "false"}}
|
||||
aria-controls={{this.ariaControls}}
|
||||
data-tab-number={{@tab.position}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user