How does CSS opacity affect accessibility?

后端 未结 2 1607
面向向阳花
面向向阳花 2021-02-07 00:57

After browsing a number of Google and other SO articles, I\'ve decided to ask my question plainly in hopes of a simple, direct answer.

To add one further step to the dis

2条回答
  •  离开以前
    2021-02-07 01:41

    While this is an older question, it was one of the first that surfaced in a Google search, so I wanted to chime in.

    As of April 2017, the ChromeVox screen reader does not read content that is set to opacity 0.

    Specifically, ChromeVox won't read text that has been visually hidden with opacity set to zero, unless the element is labeled by visually available text.

    For example:

    
    not read
    
    
    is read
    
    
    
      Read More
      
        this will not be read
      
    
    
    
    button label
    
    

提交回复
热议问题