You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, there is no aria-label for Trickle buttons. For Buttons containing text this is fine as .trickle__btn-text is read instead.
For icon only trickle buttons (_hasIcon enabled and empty text), you need to set the appropriate ariaLabel, startAriaLabel and finalAriaLabel. From experience these are often missed and for most Adapt buttons we include aria-label defaults as standard e.g. question buttons.
Expected behaviour
Set aria-label defaults. Either pulling in the textstartText and finalText so these are automatically populated when you amend the text properties (to save on amending multiple instances and to keep these consistent). Or to set defaults just copying the textstartText and finalText text.
The text was updated successfully, but these errors were encountered:
Either pulling in the textstartText and finalText so these are automatically populated when you amend the text properties (to save on amending multiple instances and to keep these consistent).
On reflection, I think this approach could be utilised across Adapt. With AAT users in mind, having aria-label defaults that automatically inherit from the visually displayed text would be useful and we already have this approach with title and displayTitle in Adapt. They are linked by default but giving the flexibility to edit separately if required.
Subject of the issue
By default, there is no
aria-label
for Trickle buttons. For Buttons containing text this is fine as.trickle__btn-text
is read instead.For icon only trickle buttons (
_hasIcon
enabled and emptytext
), you need to set the appropriateariaLabel
,startAriaLabel
andfinalAriaLabel
. From experience these are often missed and for most Adapt buttons we includearia-label
defaults as standard e.g. question buttons.Expected behaviour
Set
aria-label
defaults. Either pulling in thetext
startText
andfinalText
so these are automatically populated when you amend the text properties (to save on amending multiple instances and to keep these consistent). Or to set defaults just copying thetext
startText
andfinalText
text.The text was updated successfully, but these errors were encountered: