Skip to content

Commit

Permalink
docs: update keyboard shortcuts section with detailed controls for ma…
Browse files Browse the repository at this point in the history
…idr interaction
  • Loading branch information
jooyoungseo committed Dec 20, 2024
1 parent bf71a01 commit dd3b79f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
13 changes: 12 additions & 1 deletion docs/examples.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,18 @@ Check out [this interactive notebook in Google Colab](https://colab.research.goo

We provide [some example code](https://github.com/xability/py-maidr/blob/main/example) for using py-maidr with matplotlib, seaborn, Jupyter Notebook, Quarto, Shiny, and Streamlit.

## Keyboard Shortcuts
## Keyboard Shortcuts and Controls

To interact with the plots using maidr, follow these steps:

1. Press the **Tab** key to focus on the plot element.
2. Use the **arrow keys** to move around the plot.
3. Press **B** to toggle Braille mode.
4. Press **T** to toggle Text mode.
5. Press **S** to toggle Sonification (tones) mode.
6. Press **R** to toggle Review mode.

Below is a detailed list of keyboard shortcuts for various functions:

| Function | Windows and Linux Key | Mac Key |
|:---|:---|:---|
Expand Down
13 changes: 12 additions & 1 deletion docs/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,18 @@ plt.ylabel("Body Mass (g)")
maidr.show(bar_plot) #<<
```

## Keyboard Shortcuts
## Keyboard Shortcuts and Controls

To interact with the plots using maidr, follow these steps:

1. Press the **Tab** key to focus on the plot element.
2. Use the **arrow keys** to move around the plot.
3. Press **B** to toggle Braille mode.
4. Press **T** to toggle Text mode.
5. Press **S** to toggle Sonification (tones) mode.
6. Press **R** to toggle Review mode.

Below is a detailed list of keyboard shortcuts for various functions:

| Function | Windows and Linux Key | Mac Key |
|:---|:---|:---|
Expand Down

0 comments on commit dd3b79f

Please sign in to comment.