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
Important. Applies to WP icons only (not custom icons).
aria-hidden="true" will hide the element completely to assistive technology. The element will not be in the accessibility tree (kind of like the DOM tree) so a screen reader user will not know the element is there. The aria-label="*" will be ignored because it's hidden.
Additionally, when we add a link without adding a label attribute, the aria attribute returns an empty string (for WP & custom icons).
The text was updated successfully, but these errors were encountered:
Thanks for reporting this issue @gyurmey2. I have looked into it and the aria-hidden="true"appears to be hardcoded in all Core icons and I have not been able to figure out a way to override this. I'll keep exploring a solution, but just wanted to provide an update.
Important. Applies to WP icons only (not custom icons).
aria-hidden="true"
will hide the element completely to assistive technology. The element will not be in the accessibility tree (kind of like the DOM tree) so a screen reader user will not know the element is there. Thearia-label="*"
will be ignored because it's hidden.Additionally, when we add a link without adding a label attribute, the aria attribute returns an empty string (for WP & custom icons).
The text was updated successfully, but these errors were encountered: