dequelabs / dequelabs/axe-core

svgTitleText naming method is too permissive

Open
#2,634 0 comments 0 reactions 0 assignees View on GitHub
feat rules
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

**Expected**: In an `svg` element, only a direct child `title` element can provide an accessible name

**Actual**: Axe-core allows any descendant title element to provide an accessible name for `svg` elements. I think the same might be true for `fieldset > legend` and `figure > figcaption`.

We should do some testing to make sure this causes problems and that AT aren't more permissive than the accName spec says they should be.

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.