Skip to content

a11y improvements - #3262

Merged
elalish merged 2 commits into
masterfrom
a11y
Mar 10, 2022
Merged

elalish merged 2 commits into
masterfrom
a11y

Conversation

@elalish

@elalish elalish commented Mar 10, 2022

Copy link
Copy Markdown
Contributor

Instead of #3007
Fixes #461
Fixes #462

I've removed the singleton loading status announcer in favor of similar status elements on each instance. They save their status internally, but only update the element when focused (they also clear it when blurred and display the current status when focus is received). This status takes care of both "Loading" and "View from" messages. The interaction prompt is now simply appended to the alt text, to avoid extra interruptions.

@elalish elalish self-assigned this Mar 10, 2022
@elalish

elalish commented Mar 10, 2022

Copy link
Copy Markdown
Contributor Author

@PeterSaathoff-Harshfield @svinkle I think I got this working more or less properly based on the feedback from both of you, though this was my first time using a screen reader for testing. I'm going to go ahead and merge this so that it's easy for you two to test if you have a spare moment at some point. This should be live in the next half an hour or so and the best page to test may be https://modelviewer.dev/examples/loading/index.html since it has multiple models with different loading strategies, so it tests most of the edge cases. Please file new issues if you notice anything still wrong and I'll be happy to get it fixed up before our next release.

@elalish
elalish merged commit 436f592 into master Mar 10, 2022
@elalish
elalish deleted the a11y branch March 10, 2022 22:12
@elalish elalish mentioned this pull request Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Separate instruction element Separate aria-live region

1 participant