Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 87032e3

Browse files
DOC: fix wording, spelling, and docs build
Co-authored-by: Kevin Anderson <[email protected]>
1 parent 2c57f4b commit 87032e3

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

doc/api/artist_api.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
189204
Functions
190205
=========
191206

doc/users/next_whats_new/aria.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ All ``Arist`` now carry wai-aria data
33

44
It 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
77
industry standard for providing accessibility mark up on the web. This
88
information can be used by downstream applications for providing accessible
99
descriptions of visualizations. Best practices in the space are still
@@ -12,12 +12,12 @@ we will enable this development.
1212

1313
There 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

1919
We 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
2323
provided.

0 commit comments

Comments
 (0)