weixin_39927799 2020-11-30 09:01
浏览 0

Closebox of Tab in TabSheet is read by JAWS

Originally by michaelvogt

JAWS ignores the WAI-ARIA attribute aria-hidden. This means, that the 'x' in the closebox of a Tab is read as "times" (mathematical operation). The only way around this is to replace the 'x' with an image empty alt attribute

Imported from https://dev.vaadin.com/ issue #12170

该提问来源于开源项目:vaadin/framework

  • 写回答

5条回答 默认 最新

  • weixin_39927799 2020-11-30 09:01
    关注

    Originally by

    A better solution, than an image, in my opinion would be to use CSS generated content.

    
    .v-tabsheet-close:before {
       content: "×";
    }
    

    If this is also read by JAWS, I guess the only option is to use images, which is very unfortunate, and I would like to avoid that by all means.

    评论

报告相同问题?