The Submenu block looks (sounds) quite OK in the 'long' and 'short' styles.
Choosing a numbered list in some of the levels makes it a bit too verbose (it announces the list, then the list number for each element...), but it's correct in terms of a11y.
The 'sidebar' style has a few caveats. It's browsable, but it's read before the content when it's present, not sure this is the behaviour we want. It's not a big deal, but maybe it's worth a UX look into it (frontend file).
Add a Submenu block to a page (a long one, with several headers) and check the different styles with a screen reader. You can also check out the docs for more details.
The Submenu block looks (sounds) quite OK in the 'long' and 'short' styles. Choosing a numbered list in some of the levels makes it a bit too verbose (it announces the list, then the list number for each element...), but it's correct in terms of a11y.
The 'sidebar' style has a few caveats. It's browsable, but it's read before the content when it's present, not sure this is the behaviour we want. It's not a big deal, but maybe it's worth a UX look into it (frontend file).
Screenshots
Potentially affected repositories: planet4-plugin-gutenberg-blocks
Testing
Add a Submenu block to a page (a long one, with several headers) and check the different styles with a screen reader. You can also check out the docs for more details.