File tree Expand file tree Collapse file tree 2 files changed +20
-5
lines changed Expand file tree Collapse file tree 2 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -186,6 +186,21 @@ Miscellaneous
186186 Artist.get_in_layout
187187 Artist.stale
188188
189+
190+ Accessibility
191+ -------------
192+
193+
194+ .. autosummary ::
195+ :template: autosummary.rst
196+ :toctree: _as_gen
197+ :nosignatures:
198+
199+ Artist.get_aria
200+ Artist.set_aria
201+ Artist.update_aria
202+
203+
189204Functions
190205=========
191206
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ All ``Arist`` now carry wai-aria data
33
44It is now possible to attach `wai-aria
55<https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles> `__ role
6- information to any `~matplotlib.artist.Aritist `. These roles are industry the
6+ information to any `~matplotlib.artist.Artist `. These roles are the
77industry standard for providing accessibility mark up on the web. This
88information can be used by downstream applications for providing accessible
99descriptions of visualizations. Best practices in the space are still
@@ -12,12 +12,12 @@ we will enable this development.
1212
1313There are three methods provided:
1414
15- - `~matplotlib.artist.Aritist .set_aria ` which will completely replace any existing roles.
16- - `~matplotlib.artist.Aritist .update_aria ` which will update the current roles in-place.
17- - `~matplotlib.artist.Aritist .get_aria ` which will return a copy of the current roles.
15+ - `~matplotlib.artist.Artist .set_aria ` which will completely replace any existing roles.
16+ - `~matplotlib.artist.Artist .update_aria ` which will update the current roles in-place.
17+ - `~matplotlib.artist.Artist .get_aria ` which will return a copy of the current roles.
1818
1919We currently do no validation on either the keys or the values.
2020
2121
22- Matplotlib will use the `'aria-label' ` role when saving svg output if it is
22+ Matplotlib will use the `` 'aria-label' ` ` role when saving svg output if it is
2323provided.
You can’t perform that action at this time.
0 commit comments