How to target a braille / screen-reader via CSS

前端 未结 3 816
情书的邮戳
情书的邮戳 2021-02-07 09:02

I use a webfont to display some icons on a website. This is fantastic because they scale, and i can print them if i want to... But the problem is that blind people see them as n

3条回答
  •  醉酒成梦
    2021-02-07 09:40

    I think there is no "ultimate solution" to this. But you can use the abbr-tag to describe the use of your font-char, therefore most screen-readers will read-out the title-param of abbr and the user gets the meaning of the 'icon-character'.

    I'm not 100% sure, but as it seams NVDA, JAWS and VoiceOver for iOS this works — on Mac OS X (unfortunately) not

    Example:

    A
    

提交回复
热议问题