kazzkiq/balloon.css

Accessibility issue due to aria-label

Open

#146 建立於 2020年9月20日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)CSS (5,029 star) (441 fork)batch import
accessibilityhelp wanted

描述

Adding aria-label does announce it to screen readers but the container element on which the tooltip is shown, the text of that button for example won't be announced as shown in https://kazzkiq.github.io/balloon.css/ the text Hover me is not announced since the aria-label now just has the tooltip text which is an accessibility issue.

ideally, first, the button content should be announced and then the tooltip content.

For the accessibility, role tooltip should be added to the tooltip so screen readers announce it as tooltip but since it uses pseudo-element so won't be possible.

貢獻者指南