How about escape to leave the editor and focus the div around the editor, like in the Jupyter notebook?
On Thu, Dec 1, 2016, 00:26 Alex Jordan <[email protected]> wrote: > I work on MathBook XML and WeBWorK, both of which make use of Sage cells. > So first I want to thank this community for their work on this project. My > institution strongly supports web accessibility and recently they were > conducting some accessibility testing of the HTML generated by MathBook > XML. Specifically they were looking at this sample page > <http://mathbook.pugetsound.edu/examples/sample-article/html/interesting-corollary.html>. > They encountered an accessibility issue with the Sage cell and I'd like to > discuss it here. > > A keyboard navigator might have a visual disability and use a > screen-reader. Or might have mobility impairments and be unable to use a > mouse. Or maybe there are more reasons. But the idea is to support users > who navigate a site with a keyboard only. The tab key is perhaps the main > tool for these users. A user tabs from way point to way point, typically > through links and other landmarks with the right attributes. > > But at that sample, if you attempt to navigate with the tab key, you > eventually enter the Sage cell and are seemingly stuck there. The > accessibility staff here refer to it as a "keyboard trap". The tab key has > a fundamental Python role and can't be used to escape from the Sage cell, > so it's not clear what to do about this. Has this community thought about > accessibility issues with Sage cells? > > Being able to navigate in and out (or around) the cell somehow would > probably be a first issue to look into. If the cell received focus, then > rather than putting the cursor into action in the input field, maybe some > extra action (like spacebar which activates a button with focus, or enter, > which activates a like with focus) could bring the user into the input > field. That would address navigating into or around the Sage cell, but > still leaves the question of how to get out. > > -- > You received this message because you are subscribed to the Google Groups > "sage-cell" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-cell/168bc398-7812-4bb4-a767-b8771f9428db%40googlegroups.com > <https://groups.google.com/d/msgid/sage-cell/168bc398-7812-4bb4-a767-b8771f9428db%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sage-cell" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/CAPDWZHyCcJML4d%2BujUssr3BYEV6oZ7HAMQ5Bjfu%2BfqhgpYHehA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
