Open argyleink opened 3 years ago
related #501
Maybe have a button that appears on the bottom left, in the blank space under the #border
color icon?
The only thing is there's not much space underneath if your screen is small or if you're zoomed in, so maybe the button could go elsewhere on the screen? bottom right of screen? next to the Accessibility Tool li
?
Or maybe have a toggle for landmarks as a keyboard shortcut and show that on the <aside accessibility>
? It looks like n
and r
are available https://visbug.web.app/
I like the idea of putting it into the accessibility tool, as a shortcut!
ctrl
it places the action and ux right there with the accessibility inspect workflow. hover over stuff, verify contrast and attributes, then hold control and review landmarks for errors and proper flow. sounds awesome. do you think there should be a way to make the landmarks sticky, as in they persist beyond holding the hotkey? what's the use case where you need the landmarks to stick around?
not a very strong reason, but: it could be helpful to remind you where the landmarks are while you tab and/or navigate around the page with the keyboard, if the landmark labels persist. or maybe only show the landmark that applies to the currently-focused element while you tab around?
nice, that sounds like a fun plugin or debug feature, like tab order breadcrumbs. these persistent marks could show a number too! but sounds like a different plugin? plus, tab/shift+tab are already used by visbug to traverse elements in the same way Sketch does, so we'd need to do some extra work in the plugin to steal tab.
True, tab order breadcrumbs is prolly better off in a different plugin, if at all (or have tab/shift+tab act differently when you have the a11y tool on? maybe not). In that case, only showing landmarks while you hold down ctrl
makes sense to me now.
Invokes this script, or something like it. The outline style could be replaced with visbug handles and labels elements, see the zindex plugin for details 👍🏻
ctrl
hotkey and what it does