-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Text-based canvas accessibility throws error on out-of-Y-bounds shapes #7130
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
Comments
Having Plain-Text checked or both causes the same issue |
Actually, I can't reproduce the issue with plan-text accessibility checked, after refreshing the page. Might be something to it however, so, mm, changed the title. |
I think it is weaker with Plain-Text. Maybe you need more shapes, that are out of bounds or shapes that are really far away from the canvas edit: |
Hm.. might be worth splitting the plain-text bug into a separate issue, since it's probably caused by a different part of p5.js's code. |
Thanks @bojidar-bg. Just to confirm, is this an editor specific issue or a bug with p5.js itself? |
@limzykenneth Well.. no idea how to turn text-based canvas accessibility on from the sketch itself, but I'm pretty sure the culprit is in p5.js's code and not in the editor's code. |
Ok I'm able to replicate this locally as well. The problem is likely due to the |
@KamiNoAnt What you describe sounds like a different issue, can you open another issue for it? Thanks. |
I had this same issue, I managed to solve it by adding |
Most appropriate sub-area of p5.js?
p5.js version
1.9.4
Web browser and version
Firefox 127.0.2
Operating system
Arch Linux
Steps to reproduce this
Steps:
rect(200, 450, 10, 10)
TypeError: cells[ingredients[x][y].loc.locY] is undefined
; coming from:p5.js/src/accessibility/gridOutput.js
Line 66 in f397e2d
Snippet:
The text was updated successfully, but these errors were encountered: