-
Notifications
You must be signed in to change notification settings - Fork 4.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
Accessibility feedback on the Spacer Block #30157
Comments
For a general reference, the spacer block needs to serve very different purposes depending on whether it's viewed from the perspective of the editing process or in the front-end UI of the site. In the front-end of the site, it needs to be totally silent: it should be hidden from screen readers and should never contain content of any kind - including CSS content using In the back-end of the site, it needs to be perceivable as to purpose; it needs to declare that it's a spacer and any other relevant characteristics, such as the height of the spacer. |
Looks like the current output HTML for the spacer block is variations on
Adding |
Block is announced for me in the admin as 'Block: Spacer'. I think it might be useful to also announce the height of a given spacer. It would be a very small amount of additional text announced, but would help in creating a mental map of the output. E.g., "Block: Spacer - 200px tall". I'd appreciate a comment from @alexstine or @MarcoZehe regarding whether they'd consider that useful, however. |
I am not sure that would be useful considering I am not sure what 200px really is anymore. |
What problem does this address?
In chatting with Taylor Ardnt a few weeks ago around using FSE with screen reader technology, the Spacer Block came up as a particular problem point in the current FSE and general editing experience. From that conversation, two issues in particular came up that I wanted to flag here:
What other feedback to people have around how the Spacer Block can be improved from an accessibility point of view?
It would be great to gather feedback here to then figure out specific enhancements can be made.
The text was updated successfully, but these errors were encountered: