Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update image-button-non-empty-accessible-name-59796f.md #1865

Merged
Changes from 3 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
55769d5
Update image-button-non-empty-accessible-name-59796f.md
giacomo-petri Jun 16, 2022
0f08f4d
Update image-button-non-empty-accessible-name-59796f.md
giacomo-petri Jun 16, 2022
c187abd
Update _rules/image-button-non-empty-accessible-name-59796f.md
giacomo-petri Jun 16, 2022
6522306
Update image-button-non-empty-accessible-name-59796f.md
giacomo-petri Jun 16, 2022
0bcbfa9
Update _rules/image-button-non-empty-accessible-name-59796f.md
giacomo-petri Jun 23, 2022
1de8b68
Update _rules/image-button-non-empty-accessible-name-59796f.md
giacomo-petri Jun 23, 2022
bc42bac
Merge branch 'develop' into giacomo-petri-image-button-non-empty-acce…
Jym77 Jul 7, 2022
5337c5b
Update image-button-non-empty-accessible-name-59796f.md
giacomo-petri Jul 8, 2022
f9ff94a
Update image-button-non-empty-accessible-name-59796f.md
giacomo-petri Jul 8, 2022
d6ed904
Merge branch 'develop' into giacomo-petri-image-button-non-empty-acce…
Jym77 Jul 14, 2022
3dfa233
Merge branch 'develop' into giacomo-petri-image-button-non-empty-acce…
Jym77 Aug 4, 2022
d1da854
Apply suggestions from code review
giacomo-petri Aug 8, 2022
167a53d
Create error-field-is-not-ifentified-using-color-differences-only
giacomo-petri Aug 8, 2022
ef1532d
Delete error-field-is-not-ifentified-using-color-differences-only
giacomo-petri Sep 5, 2022
4b6a266
Update _rules/image-button-non-empty-accessible-name-59796f.md
giacomo-petri Sep 26, 2022
d42d998
Merge branch 'develop' into giacomo-petri-image-button-non-empty-acce…
Jym77 Sep 29, 2022
71690d6
Update image-button-non-empty-accessible-name-59796f.md
giacomo-petri Oct 3, 2022
9263954
Update image-button-non-empty-accessible-name-59796f.md
giacomo-petri Oct 3, 2022
9a844fe
Update _rules/image-button-non-empty-accessible-name-59796f.md
giacomo-petri Oct 13, 2022
7f4ad79
Merge branch 'develop' into giacomo-petri-image-button-non-empty-acce…
Jym77 Oct 27, 2022
28a7203
Merge branch 'develop' into giacomo-petri-image-button-non-empty-acce…
WilcoFiers Nov 10, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions _rules/image-button-non-empty-accessible-name-59796f.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,11 @@ Each target element has an [accessible name][] that is neither empty (`""`), nor

There is a known combination of a popular browser and assistive technology that does not by default support `title` as an [accessible name][].

The [input type="image" Accessible Name Computation algorithm](https://www.w3.org/TR/html-aam/#input-type-image-accessible-name-computation) uses the first non-empty name, but some AU/AT stop at the first existing one, even if empty.
The [input type="image" Accessible Name Computation algorithm](https://www.w3.org/TR/html-aam/#input-type-image-accessible-name-computation) uses the first non-empty name, but some user agents and assistive technologies combinations stop at the first existing one, even if empty.

## Background

Empty `alt` does not provide a "usable string" for `input` element with a `type` [attribute value][] of `image`.
Therefore, contrarily to images, empty `alt` does not make image button decorative. Image buttons have a button role and therefore are exposed as interactive elements.
Contrarily to images, an empty `alt` attribute does not make image button decorative; image buttons have a button role and are therefore exposed as interactive elements. Consequently, an empty `alt` attribute does not provide a "usable string" for image buttons and the computation default to other means of providing a name.
giacomo-petri marked this conversation as resolved.
Show resolved Hide resolved

### Related rules

Expand Down