Thanks Andrey,

I'm sure I know much less than you about anything technical regarding Sage 
cells. 
But I'll take a stab at it. I'm partly talking to myself below, and some 
things are probably
obvious to you.

According to these embedding instructions 
<https://sagecell.sagemath.org/static/about.html?v=076b8b4093fa6a45a81e291c7e2b8fb7#embedding>,
 
a Sage cell is wrapped in a div with class 
"sage". This is not the case with the Sage cells I have any familiarity 
with from MathBook 
XML. They are wrapped in a div with class "sagecell-sage", like you can see 
in the source 
in this example 
<http://mathbook.pugetsound.edu/examples/sample-article/html/section-sage-cells.html>
.

But in any case, referring to the Sage cell in the MBX example I just 
linked, and without 
understanding the technical implications, one outline of behavior we might 
want would be:


   1. Tabbing from earlier in the page, the containing div (class="sage" or 
   class="sagecell-sage") can receive focus.
   2. From there, another tab brings you to the "toggle fullscreen" button.
   3. From there, another tab brings you to the "Evaluate Sage Code" button.
   4. From the button, another tab moves focus past the Sage cell 
   altogether.
   5. When focus is back on the containing div, the enter key brings you 
   into the input field 
   with cursor live.
   6. While in the input field, ESC brings you out of the input field and 
   puts focus on either 
   the containing div or the Evaluate button. (It would be worth trying 
   both to see what 
   the user feedback preference would be.)

Until we do the user testing, I'm not really sure what happens with reading 
the default content 
of the input field, reading the line numbers, reading the output after 
evaluation, and tabbing 
through the Help and SageMath links that appear under the output.


-- 
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/f041390c-2ca8-42a4-8507-0e49417db146%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to