HTML elements with `aria-hidden="true"` attribute are shown

Discussão em 'Angular' iniciado por David S., Fevereiro 16, 2025.

  1. David S.

    David S. Guest

    I have an Angular web app and I use a 3rd party component that outputs an element with the aria-hidden="true" attribute. This element is not supposed to be visible. According to MDN, the aria-hidden should be supported by all browsers and does not require additional styles to be functional.

    I created this simple example. Please give it a try and let me know if you can see the aria hidden element.

    I also tried to create a plain HTML file to test the aria-hidden attribute and the element is still shown. I test the page in both Chrome and Edge. Now I wonder if aria-hidden is widely supported.

    Continue reading...

Compartilhe esta Página