-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Use describe() to create accessible canvas descriptions in inline documentation #5139
Closed
4 of 59 tasks
Comments
45 tasks
Zearin
added a commit
to Zearin/p5.js
that referenced
this issue
Jan 22, 2022
**Summary:** - This commit converts all the uses of `@alt` I found in 📁`src/color`. - Since `@alt` was not linted for line length while `describe(…)` is, I had to add line breaks to the descriptions for the lint to pass (and allow the commit to go through). **Related Issues & Pull Requests:** - This is a small piece of the checklist described in Issue processing#5139 (by @lm-n). - That issue, in turn, was begun in Pull Request processing#5140 (also by @lm-n). - In Issue processing#5427, the idea requiring this for the inline docs got positive support from several members (including @lmccart, @outofambit, and @catarak).
2 tasks
Zearin
added a commit
to Zearin/p5.js
that referenced
this issue
Feb 6, 2022
2 tasks
Zearin
added a commit
to Zearin/p5.js
that referenced
this issue
Feb 6, 2022
2 tasks
Zearin
added a commit
to Zearin/p5.js
that referenced
this issue
Feb 6, 2022
2 tasks
Zearin
added a commit
to Zearin/p5.js
that referenced
this issue
Feb 6, 2022
2 tasks
Zearin
added a commit
to Zearin/p5.js
that referenced
this issue
Feb 6, 2022
2 tasks
Zearin
added a commit
to Zearin/p5.js
that referenced
this issue
Feb 7, 2022
2 tasks
Zearin
added a commit
to Zearin/p5.js
that referenced
this issue
Feb 7, 2022
2 tasks
Zearin
added a commit
to Zearin/p5.js
that referenced
this issue
Feb 7, 2022
Zearin
added a commit
to Zearin/p5.js
that referenced
this issue
Oct 8, 2022
Zearin
added a commit
to Zearin/p5.js
that referenced
this issue
Oct 8, 2022
Zearin
added a commit
to Zearin/p5.js
that referenced
this issue
Oct 8, 2022
Closing this issue since all the reference docs includes describe() now, with all the documentation PRs merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How would this new feature help increase access to p5.js?
This change from using
@alt
to usingdescribe()
in inline documentation will help model best practices for making p5.js sketches accessible to screen reader users. While@alt
creates an extra<span>
element after the canvas with the canvas description,describe()
follows best accessibility practices (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas) by making the description a fallback text or sub DOM of the<canvas>
html element.Most appropriate sub-area of p5.js?
Feature enhancement details:
Update documentation:
The text was updated successfully, but these errors were encountered: