-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the notebook: a table of cell forms #49
Conversation
Wow, this looks like a big one, major issue referencing here. Excited to take a look. |
now this template supports native dark/light mode settings. there is a place holder for accessibility settings that we can add to later. what accessibility settings should we provide?
readability defines css variables as features for changing the presentation. |
this template is designed for non-visual features, but the lack of aestethics hinder how people will receive the concept. in this extended version, we are prototyping using bootstrap. this approach should not be framework specific when all is said and done. the bootstrap version does make the sighted experience more pleasing. currently missing: |
the table had |
when the table of contents drawer closes we lose focus. we'll fix that by focusing the |
bootstrap doesn't have the concept of drawer, like material design does. the offcanvas element is not a drawer and focus is problem until bootstrap 5 |
so i just dropped all the javascript. i need to trim some css. currently the focus on the table of contents needs work. |
i think we may have been misleading ourselves by designing "static notebooks". it turns out that the "static" or html rendering of a notebook can be intensely interactive. we consider that user experience below. interactivitythere are two naive interactions we can lean on for a rendered notebook:
navigationreaders may need quicker navigation capabilities to parts of the document; these needs are more critical for long notebooks. when the notebook is rendered we can identify parts both:
this pull request structures the table of contentsa natural first widget to implement was the table of contents. this feature was a recurring need from #9. this pull request implements a table of contents that starts to consider how the document should be navigation. heading and cell navigation is implemented. the table of contents is turning into its own widget to navigation code, narrative, and cells. managing focus will be a very important ux consideration. the navigation system became a natural extension of a semantically meaningful rendered version of the notebook. there are specific patterns that should be upheld for the hybrid code, narrative, and cells. |
scrolling is another natural interactive affordance when working in zoom mode. |
chartability heuristics are for accessible the first Compromising heuristic states:
i think it is safe to say that we are in chartability's domain by representing notebook documents as a the Assistive heuristics will need some further development. they can be handle with different css states. in the past, style conventions were developed to convey state. now, however, the semantic description of the notebook interface provides canonical selectors to the interface based html and aria standards. the new representation should allow design teams to optimize the experience based on standards, with less conventions. this work introduces a nascent degree of Flexibility. the flexible settings should be in the we've started accruing idioms:
i think with this work we are adding
adding this idiom naturally expands the expected interactivity of the notebook document. we gain expectations for our one feature we'll need to consider is performance. i don't know what guidelines these fall under. we should be cc: @frankelavsky |
it looks like |
A little hard to tell what the implementations will look like, but it seems to fit the semantics of the situation. Hadn't run into it before. |
still need to add cell numbers to markdown links. the notebooks are being testing in axe, webaim, equal access, and with the orca screen reader at 400% zoom. |
this last pass reintroduces the nbconvert conventions and flags to feel more familiar to |
… all the custom python code we added.
some notebooks on dark theme look really bad. we are restricting our opinions to light mode notebook, but we know how to super a preferred dark mode. since we don;t have to manage themes we are adding the github light color blind theme. to go further down the accessible path we've included atkinson hyperlegible font for dyslexic readers. |
i added a readme section to the template that is duplicated in the docs now. |
to finish
|
gonna merge this before i do damage |
this pull request introduces a new notebook template that is can be navigated with a screen reader. when designing this template:
addressing issues
table.cells > caption
. this is linked to assistive tech and a good place to present more metadata Move Metadata to the top #21 .