Skip to content

how do we properly author alt text for notebook screen shots? #73

Description

@tonyfast

moving a twitter thread to an issue https://twitter.com/ChelseaParlett/status/1489695566582136833


@cmparlettpelleriti

a screenshot of a jupyter notebook

for example this screenshot is something i posted to my course slack (to answer a question). Normally with code, I just copy the code into the alt-text.

But with a notebook that also shows output, I wasn't sure what the best way to put that into the alt text.


@choldgraf

do you (jupyter/accessibility) have any ideas how we can describe the structure of a notebook + it's outputs with an alt text?


context probably matters a lot

i don't know the specifics of alt text well, that is @isabela-pf domain. my best guess is the context the screenshot is being applied to probably matters a lot. is it about the dataframe or the notebook? the is probably going to require two different alt text approaches to describe.

it would be nice to have a recommendation for default alt text, and maybe the myst format could be a representation in a similar way that @cmparlettpelleriti is putting code in the alt-text.

prior examples

while we don't have explicit best practices, @isabela-pf has a draft of alt text suggestions in jupyter land, and there are some recommendations for content showing screenshots. https://github.com/Quansight-Labs/jupyter-accessibility-workshops/blob/main/docs/alt-text-guide.md#content.

we also have some aggregated examples for our alt-text sprints. some examples are listed below for retrolab and jupyterlab where we have written alt text for notebooks. more eyeballs and input on some of these applications would be helpful in us normalizing our alt text practices.

cc @ajuavinett @isabela-pf @trallard

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions