Here’s a question for front-end developers about accessibility.
If you hide an element with “aria-hidden,” the element and all of its children are hidden from screen readers. If one of those child elements is an image, the alt text is moot because a screen reader will ignore it.
Example:
<button aria-hidden="true">
<img src="/img/icon.svg">
</button>
Do you:
#Accessibility #A11y #UI #Design #FrontEnd #Development #HTML