svg2: Partial fix for Issue 40 default Lacuna value for ARIA roles

details:   https://svgwg.org/hg/svg2/rev/fee18aaab242
branches:  
changeset: 615:fee18aaab242
user:      Richard Schwerdtfeger <schwer@us.ibm.com>
date:      Fri Feb 07 18:04:24 2014 -0600
description:
Partial fix for Issue 40 default Lacuna value for ARIA roles

diffstat:

 master/struct.html |  75 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 74 insertions(+), 1 deletions(-)

diffs (112 lines):

diff --git a/master/struct.html b/master/struct.html
--- a/master/struct.html
+++ b/master/struct.html
@@ -1853,17 +1853,17 @@ is split on spaces. </p>
         <th>Name</th> 
         <th>Value</th> 
         <th>Lacuna value</th>
         <th>Animatable</th>
       </tr> 
       <tr>
         <td> <dfn id="RoleAttribute">role</dfn> </td>
         <td> white-space space separated tokens having values defined in <a href="http://www.w3.org/TR/wai-aria-1.1/roles#role_definitions">Definition of Roles</a> ([<a href="refs.html#ref-ARIA">ARIA</a>], section 5.4)</td>
-        <td>default</td>
+        <td>See <a href="#implicit-aria-semantics">Default implied ARIA semantic</a> for SVG elements</td>
         <td>no</td>
       </tr>
     </table>
   </dt>
   <dd>
     <p>The role value is a set of white-space separated machine-extractable semantic information used to define the purpose of the element.
     </p>
     <p class="issue">The "Value" entry in the attribute definition box above should
@@ -1893,16 +1893,89 @@ using the SVG mapping ([<a href="refs.ht
 not always meaningful, however, and in such cases user agents might not perform
 any processing aside from including them in the DOM. Unlike some other host
 languages, SVG is not considered to have strong native host language semantics
 in terms of the user interface, consequently state and property attributes are
 processed according to the <a href="http://www.w3.org/TR/wai-aria-1.1"><cite>ARIA</cite></a> and
 <a href="http://www.w3.org/TR/wai-aria-implementation/"><cite>ARIA User Agent Implementation Guide</cite></a>
 specifications. [<a href="refs.html#ref-ARIA">ARIA</a>] [<a href="refs.html#ref-ARIAIMPL">ARIAIMPL</a>]</p>
 
+<h3 id="implicit-aria-semantics">Implicit ARIA Semantics</h3>
+<p>The following table defines the <span>implicit native
+  semantics</span> and corresponding <span>default implicit ARIA
+  semantics</span> that apply to <a href="eltindex.html">SVG elements</a>. Each
+  language feature (element) in a cell in the first
+  column implies the ARIA semantics (role, states, and/or properties)
+  given in the cell in the second column of the same row. The third column defines restrictions as to what WAI-ARIA semantic (role, state, or property may or may not apply.</p>
+
+  <table id="table-aria-implicit">
+      <thead>
+          <tr><th>Language feature</th><th>Default implied ARIA semantics</th><th>Restrictions</th></tr>
+      </thead>
+
+   <tbody>
+    <tr><td><code><a href="linking.html#AElement">a</a></code> element</td>
+        <td><code title="attr-aria-role-link">link</code> role</td>
+        <td>No restrictions</td>
+    </tr>
+    <tr>
+      <td><code><a href="text.html#AltGlyphElement">altGlyph</a></code> element</td>
+      <td><code title="attr-aria-role-preseentation">presentation</code> role provide no associated <a href="struct.html#TitleElement">title</a> element, <a href="struct.html#DescElement">desc</a> element, <code title="attr-aria-property-label">aria-label</code> attribute, <code title="attr-aria-property-labellledby">aria-labelledby</code> attribute, or <code title="attr-aria-property-labellledby">aria-describedby</code> attribute. Otherwise, <code title="attr-aria-role-group">group</code> role</td>  
+      <td>No restrictions</td>
+    </tr>
+    <tr>
+      <td><code><a href="text.html#AltGlyphDefElement">altGlyph</a></code> element</td>
+      <td><code title="attr-no-role">No role</code></td>
+      <td>No role may be applied</td>
+    </tr>
+    <tr>
+      <td><code><a href="text.html#AltGlyphItemElement">altGlyphItem</a></code> element</td>
+      <td><code title="attr-aria-role-preseentation">presentation</code> role provide no associated <a href="struct.html#TitleElement">title</a> element, <a href="struct.html#DescElement">desc</a> element, <code title="attr-aria-property-label">aria-label</code> attribute, <code title="attr-aria-property-labellledby">aria-labelledby</code> attribute, or <code title="attr-aria-property-labellledby">aria-describedby</code> attribute. Otherwise, <code title="attr-aria-role-group">group</code> role</td>
+      <td>No restrictions</td>
+    </tr>
+    <tr>
+      <td><code><a href="animate.html#AnimateElement">animate</a></code> element</td>
+      <td><code title="attr-no-role">No role</code></td>
+      <td>No role may be applied</td>
+    </tr>
+    <tr>
+      <td><code><a href="animate.html#AnimateMotionElement">animateMotion</a></code> element</td>
+      <td><code title="attr-no-role">No role</code></td>
+      <td>No role may be applied</td>
+    </tr>
+    <tr>
+      <td><code><a href="animate.html#AnimateTransformElement">animateTransform</a></code> element</td>
+      <td><code title="attr-no-role">No role</code></td>
+      <td>No role may be appplied</td>
+    </tr>
+    <tr>
+      <td><code><a href="embedded.html#AudioElement">audio</a></code> element</td>
+      <td><code title="attr-no-role">No role</code></td>
+      <td>If must be specified, role must be <code title="attr-aria-role-application">application</code></td>
+    </tr>
+    <tr>
+      <td><code><a href="embedded.html#CanvasElement">canvas</a></code> element</td>
+      <td><code title="attr-group-role">group</code> role</td>
+      <td>No Restrictions</td>
+    </tr>
+    <tr>
+      <td><code><a href="shapes.html#CircleElement">circle</a></code> element</td>
+      <td><code title="attr-aria-role-preseentation">presentation</code> role provide no associated <a href="struct.html#TitleElement">title</a> element, <a href="struct.html#DescElement">desc</a> element, <code title="attr-aria-property-label">aria-label</code> attribute, <code title="attr-aria-property-labellledby">aria-labelledby</code> attribute, or <code title="attr-aria-property-labellledby">aria-describedby</code> attribute. Otherwise, <code title="attr-aria-role-group">group</code> role</td>
+      <td>No restrictions</td>
+    </tr>
+<!--
+    <tr>
+      <td><code><a href="http://www.w3.org/TR/2012/WD-css-masking-20121115/#ClipPathElement">clipPath</a></code> element</td>
+      <td><code title="attr-aria-role-preseentation">presentation</code> role provide no associated <a href="struct.html#TitleElement">title</a> element, <a href="struct.html#DescElement">desc</a> element, <code title="attr-aria-property-label">aria-label</code> attribute, <code title="attr-aria-property-labellledby">aria-labelledby</code> attribute, or <code title="attr-aria-property-labellledby">aria-describedby</code> attribute. Otherwise, <code title="attr-aria-role-group">group</code> role</td>
+      <td>No restrictions</td>
+    </tr>
+-->
+   </tbody>
+  </table>
+
 <h2 id="DOMInterfaces">DOM interfaces</h2>
 
 <h3 id="InterfaceSVGDocument">Interface Document</h3>
 
 <p>The DOM Core specification defines a <a>Document</a> interface, which this specification extends.</p>
 
 <p class="note">In the case where an SVG document is embedded by reference,
 such as when an HTML document has an <span class="element-name">'object'</span>

Received on Saturday, 8 February 2014 00:06:51 UTC