Does the css parameter say: none is now equivalent to aria-hidden = "true"?

I am just wondering if browsers and assistive technology should be expected to use the words around January 2015: none in the order equivalent to setting aria-hidden = "true". I would like to point out that some translucent text should be ignored, and I wonder if I can do it in one operation (just adding a class that sets an opaque style and says: none, instead of adding a class and setting aria-hidden).

+5
source share
1 answer

There seems to be no reliable support data for speak , but it does not seem to be implemented.

Regardless of the implementation status, speak: none not equivalent to aria-hidden="true" .

According to the CR-speech module CR, the speak property determines whether to make text in the aura ", that is, hear.

According to the ARIA specification, aria-hidden "indicates that the element and all its descendants are not visible or perceived by any user as implemented by the author" (italics in the original).

Thus, aria-hidden="true" does not cause anything; he simply states that the author has hidden the element. And this applies to all types of rendering: audible, visible, tactile or any methods that may be invented in the future.

+6
source

Source: https://habr.com/ru/post/1210294/


All Articles