From c625cb7055f006fbacc14a7d0b2270dadd3b7b42 Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Thu, 1 Sep 2022 15:21:10 -0400 Subject: [PATCH] update figure role (#1705) * update figure role This PR requires #1703 be merged. * Update index.html * revisions per sarah's review * further updates to figure def --- index.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index ab8dda869..5e5f792e6 100644 --- a/index.html +++ b/index.html @@ -3425,9 +3425,11 @@

Definition of Roles

figure
-

A perceivable section of content that typically contains a graphical document, images, code snippets, or example text. The parts of a figure MAY be user-navigable.

-

Authors SHOULD provide a reference to the figure from the main text, but the figure need not be displayed at the same location as the referencing element. Authors MAY reference text serving as a caption using aria-describedby. Authors MAY provide a label using aria-label or MAY reference text serving as a label using aria-labelledby.

-

Assistive technologies SHOULD enable users to quickly navigate to figures. [=User agents=] MAY enable users to quickly navigate to figures.

+

A perceivable section of content that typically contains a graphical document, images, media player, code snippets, or example text. The parts of a figure MAY be user-navigable.

+

Authors SHOULD provide a reference to the figure from the main text, but the figure need not be displayed at the same location as the referencing element. Authors MAY provide a figure a caption which can include its name, descriptive text, or both. If a caption is provided, and it serves as a description to the contents of the figure, authors SHOULD associate it to the figure element using aria-details.

+

Authors MAY provide a figure an accessible name using aria-label or use aria-labelledby to reference other text in the page to serve as the element's label and accessible name.

+

Please refer to the caption role for more information on how to associate a figure with its caption.

+

Assistive technologies SHOULD enable users to quickly navigate to figures. User agents MAY enable users to quickly navigate to figures.

Characteristics: