Comments (4)
@jeryj I edited the testing instructions to include a note about aria-expanded
on the toggles. Failing to communicate this would confuse users into thinking nothing happened.
I think this is overall a very big lift and not one we should rush into. As imperfect as it is now, I feel like having skip links everywhere is going to make the UI that much harder to use however I do believe it is necessary to have triggering elements controlling the panels.
Thanks.
from gutenberg.
Re: The close button ordering issue, I think #61553 would be a more appropriate solution. I would kindly ask designers to not think visually first. Functionality, semantics, and accessibility should always come before any visual consideration. Thanks.
from gutenberg.
@joedolson mentioned having the #59013 (comment):
Totally agree, that is a general principle that applies not only to 'panels'. It applies to any UI section that is initially hidden and expands when activating a trigger. Popovers, for example, have the same problem. Dropdown menus as well. Basically, any expandable section of content that resembles a 'disclosure pattern' should follow the principle of making the trigger and panel adjacent in the DOM.
I'm pretty sure this point was reported several times in the history of this project but, alas, often dismissed for other reasons I'm not sure I can support. Developing an user interface should be based on user needs first. Other arguments should come after.
That said, we have another problem to consider.
The editor UI is split into some ARIA landmarks. It is worth reminding ARIA landmarks provide an important mechanism for assistive technology users to get a sense of the main sections of a page and more importantly provide a way to jump from section to section. For example, screen readers provide dedicated shortcuts to jump through landmarks and tools to list all the landmarks in a page. In Gutenberg, we mapped ARIA landmarks to the 'navigable regions' to provide a similar navigational tool to keyboard users who don't use screen readers.
Screenshot to roughly illustrate some of the editor ARIA landmarks:
Moving the panels close to their triggers in the DOM would make this landmark structure almost useless, if not confusing. Some of these landmarks would be basically empty and unused. This is not to say I'm opposed to this proposal but we should definitely take into consideration what to do with the landmarks.
from gutenberg.
I edited the testing instructions to include a note about aria-expanded on the toggles. Failing to communicate this would confuse users into thinking nothing happened.
@alexstine Thank you for catching that! Sorry I accidentally omitted it.
from gutenberg.
Related Issues (20)
- Custom template add new section Flickering issue HOT 2
- Background image tool: Improvements, bugfixes, find alternative to "fixed" HOT 12
- Investigate display issues in the Typography panel HOT 2
- Footnotes Do Not Appear In Search Results HOT 4
- Synced Pattern: A possible error when a block is unmounted HOT 7
- Interactivity API: aria-modal is not sufficient to hide content from assistive technology HOT 1
- Theme patterns should not have irrelevant DataViews actions HOT 2
- Inspector tabs: text no longer visible when 'Show button text labels' preference is enabled HOT 3
- Show shadow tool by default under global styles
- Widgets not working when using Gutenberg editor but load fine on Classic view. HOT 2
- jest-console throwing errors in conjunction with jest.restoreAllMocks() HOT 1
- Invalid configuration object error when using --experimental-modules HOT 3
- Overrides in Synced Patterns: Unable to preview newly defined overrides without saving HOT 1
- Group block variations: Unable to add Row, Stock, Grid by '/(English label)' shortcut in Japanese environment.
- Shadow selection from block settings adds value instead of variable reference in template HOT 1
- Add UI to Global styles to allow managing spacing presets
- Add UI to Global styles to allow modification of font size presets HOT 1
- theme.json h1 tag font size is override by core heading block font size HOT 1
- Shadow Panel: slugs may conflict HOT 3
- Need to Correct the placement of @since tag in Php Docs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gutenberg.