mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
A11Y: Add aria-label to menu tabs (#27071)
* Update menu-tab.hbs * Update menu-tab.hbs * linting
This commit is contained in:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user