assistive-technology

What is aria-label and how should I use it?

我的未来我决定 提交于 2019-12-17 07:00:42
问题 A few hours ago I read about the aria-label attribute, which: Defines a string value that labels the current element. But in my opinion this is what the title attribute was supposed to do. I looked further in the Mozilla Developer Network to get some examples and explanations, but the only thing I found was <button aria-label="Close" onclick="myDialog.close()">X</button> Which does not provide me with any label (so I assume I misunderstood the idea). I tried it here in jsfiddle. So my

Is the css setting speak:none now equivalent to aria-hidden=“true”?

自作多情 提交于 2019-12-06 01:39:00
问题 I'm just wondering whether I should expect browsers and assistive technilogy circa January 2015 to use speak:none in a manner equivalent to setting aria-hidden="true". I'd like to indicate that some semi-opaque text should be ignored, and am wondering whether I can do it in one operation (just adding a class that sets the opaque style and speak:none, rather than adding the class and setting the aria-hidden attribute). 回答1: There does not seem to be reliable data on support to speak , but it

Is the css setting speak:none now equivalent to aria-hidden=“true”?

*爱你&永不变心* 提交于 2019-12-04 07:23:37
I'm just wondering whether I should expect browsers and assistive technilogy circa January 2015 to use speak:none in a manner equivalent to setting aria-hidden="true". I'd like to indicate that some semi-opaque text should be ignored, and am wondering whether I can do it in one operation (just adding a class that sets the opaque style and speak:none, rather than adding the class and setting the aria-hidden attribute). There does not seem to be reliable data on support to speak , but it seems to be unimplemented. Independently of the implementation status, speak: none is not equivalent to aria

What is aria-label and how should I use it?

我怕爱的太早我们不能终老 提交于 2019-11-27 02:38:38
A few hours ago I read about the aria-label attribute, which: Defines a string value that labels the current element. But in my opinion this is what the title attribute was supposed to do. I looked further in the Mozilla Developer Network to get some examples and explanations, but the only thing I found was <button aria-label="Close" onclick="myDialog.close()">X</button> Which does not provide me with any label (so I assume I misunderstood the idea). I tried it here in jsfiddle . So my question is: why do I need aria-label and how should I use it? It's an attribute designed to help assistive