File tree 2 files changed +20
-5
lines changed
2 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -186,6 +186,21 @@ Miscellaneous
186
186
Artist.get_in_layout
187
187
Artist.stale
188
188
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
+
189
204
Functions
190
205
=========
191
206
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ All ``Arist`` now carry wai-aria data
3
3
4
4
It is now possible to attach `wai-aria
5
5
<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
7
7
industry standard for providing accessibility mark up on the web. This
8
8
information can be used by downstream applications for providing accessible
9
9
descriptions of visualizations. Best practices in the space are still
@@ -12,12 +12,12 @@ we will enable this development.
12
12
13
13
There are three methods provided:
14
14
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.
18
18
19
19
We currently do no validation on either the keys or the values.
20
20
21
21
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
23
23
provided.
You can’t perform that action at this time.
0 commit comments