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
Per the HTML spec and assistive technology behavior, the aria-label of an element is announced using the language of the html element, and ignores any lang attribute defined on the element itself. Because of this, putting the text into an aria-label attribute can create a language of parts violation.
The text was updated successfully, but these errors were encountered:
Screen reader text is more straightforward, and has the advantage that it's available when CSS fails. The CSS always annoys me when adding any front-end screen reader text, since you pretty much always have to add potentially duplicate CSS, but 🤷.
Per the HTML spec and assistive technology behavior, the
aria-label
of an element is announced using the language of thehtml
element, and ignores anylang
attribute defined on the element itself. Because of this, putting the text into anaria-label
attribute can create a language of parts violation.The text was updated successfully, but these errors were encountered: