Update describe function limits and best practices
Increasing access
A new lang parameter will be added to ensure screen readers can programmatically identify the language of the text for the describe() and describeElement(). This will ensure screen readers (mostly for Windows users) can change to the proper screen reader voice language.
Most appropriate sub-area of p5.js?
- [x] Accessibility
- [ ] Color
- [ ] Core/Environment/Rendering
- [ ] Data
- [ ] DOM
- [ ] Events
- [ ] Image
- [ ] IO
- [ ] Math
- [ ] Typography
- [ ] Utilities
- [ ] WebGL
- [ ] Build process
- [ ] Unit testing
- [ ] Internationalization
- [ ] Friendly errors
- [ ] Other (specify if possible)
Feature enhancement details
This pertains to one of the items for issue #9100.
The contributor documentations need to be updated to include these key guidelines:
-
TTS engines cannot reliably pronounce transliterations of languages. This can make it hard for the screen reader users to understand the text for the describe functions. Our current workaround to resolve this is to encourage sketch creators to use their native script language when writing the text for describe functions.
-
macOS VoiceOver ignores the lang attribute completely so Latin-script languages (Spanish, German, French, etc) will be read with the English voice so it's likely that words won't be pronounced correctly.
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, please make sure to fill out the inputs in the issue forms.
For guidance on contributing, check out our contributing guidelines and other resources for contributors. 💬 If you have questions or need support, feel free to join the Processing Foundation Forum or visit our Community page. 📜 Please also review our Code of Conduct to understand our community standards. Thank You!
Hi @perminder-17 , I would like to work on this issue as its a new and very interesting area to me
thanks ...
Assigned, thanks for taking this up @Ayush4958
Assigned, thanks for taking this up @Ayush4958
thanks, I will work on this and will raise a PR for it
Hiii @perminder-17 and @Ayush4958! I’ve been using p5.js for a while and really enjoy creating with it :) I’d love to start contributing, and this accessibility improvement caught my interest as a potential first contribution....
I noticed there’s already a PR for this issue. Is there any remaining work or a small follow-up I could help with? I’d be happy to contribute without duplicating the existing work. Thanks!
I noticed there’s already a PR for this issue. Is there any remaining work or a small follow-up I could help with? I’d be happy to contribute without duplicating the existing work. Thanks!
Although PR already solves this issue and it doesn't require any follow up, I would recommend joining the discord server to get started as contributor