Action-1634: the switch element and <title> and <desc>

https://www.w3.org/WAI/PF/Group/track/actions/1634

I am proposing a modification to the text of the accessible name and
description computation to better address the <switch> element. Please
review:

Here is the current text for step F of the SVG name and description
computation (http://www.w3.org/TR/svg-aam-1.0/#mapping_additional_nd):

Otherwise, if performing a text alternative computation for an accessible
name and the current node provides a descendant <title> element chosen
based on the language rules for the SVG specification, return the title
text alternative as a flat string, unless the element is marked as
presentational (role="presentation" or role="none"). If performing a text
alternative computation for an accessible description, and the current node
provides a descendant <desc> chosen based on the language rules for the SVG
specification; return the description text alternative an accessible
description computation attribute as presentational (role="presentation" or
role="none").

Proposed Text:

Otherwise, if performing a text alternative computation for an accessible
name and the current node provides a descendant <switch> element with one
or more descendant <title>s return the title text alternative as a flat
text string determined by the switch, unless the element is marked
(role="presentation" or role="none"); otherwise if the current node does
not provide a descendant switch element, but it does provide a descendant
<text>, return the title text of the first descendant <title> element as a
flat text string, unless the element is marked (role="presentation" or
role="none"). If performing a text alternative computation for an
accessible description and the current node provides a descendant <switch>
element with one or more descendant <desc>s return the description text
alternative as a flat text string determined by the switch, unless the
element is marked (role="presentation" or role="none"); otherwise if the
current node does not provide a descendant switch element, but it does
provide a descendant <desc>, return the description text of the first
descendant <desc> element as a flat text string, unless the element is
marked (role="presentation" or role="none").



Rich Schwerdtfeger

Received on Thursday, 14 May 2015 15:52:28 UTC