dequelabs / dequelabs/axe-core

Should aria-tooltip-name fail if it's not focusable?

Open
#4,395 0 comments 0 reactions 0 assignees View on GitHub
accessibility support question support
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

I'm not sure the following is actually a failure of WCAG.

```html

button


Hello world

```

VoiceOver + Safari seems to ignore the empty tooltip, which I think it what it should do while not hovered. If other screen readers also ignore empty tooltips I don't think axe should fail them. Its worth testing if there's a difference when the tooltip is focusable. I assume that will announce the empty tooltip, which would be a problem.

Tooltips shouldn't normally be focusable so I'm a little conflicted about whether we should make this rule a best pracitce, or if this should incomplete when not focusable. Open for discussion, but we should run some AT tests first.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.