Siteimprove / alfa

:wheelchair: Suite of open and standards-based tools for performing reliable accessibility conformance testing at scale
MIT License
108 stars 12 forks source link

Add support for accessible description #1089

Open Jym77 opened 2 years ago

Jym77 commented 2 years ago

ACT rule is going to use it to solve https://github.com/act-rules/act-rules.github.io/issues/1766 so we may want to prepare for it. Accessible description is computed mostly like accessible name but with slightly different steps and attributes to look at, so we can likely re-use most of the code. Might still need to duplicate it if it cannot be shared…

Also include accessible description testable statements, same as

Jym77 commented 2 years ago

The change in ACT rule seems to be at risk because the corresponding rule is at risk: https://github.com/act-rules/act-rules.github.io/issues/1879#issuecomment-1184560674 (and we do not implement "Link in context is descriptive"). Parking that until the need rises again.