<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>24394</bug_id>
          
          <creation_ts>2014-01-25 15:19:42 +0000</creation_ts>
          <short_desc>non-ARIA role values are flagged as an error and should be a warning</short_desc>
          <delta_ts>2014-01-25 15:19:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML Checker</product>
          <component>General</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Shane McCarron">shane</reporter>
          <assigned_to name="Michael[tm] Smith">mike+validator</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>99078</commentid>
    <comment_count>0</comment_count>
    <who name="Shane McCarron">shane</who>
    <bug_when>2014-01-25 15:19:42 +0000</bug_when>
    <thetext>The W3C ARIA specification [1] refers to the W3C Role Attribute Recommendation [2] for the definition of the role attribute.  ARIA also defines a collection of role values that have specific semantics, and only those values are passed through to underlying accessibility technologies [4].  Therefore, if an element has &lt;foo role=&quot;unknown known&quot; then the role of &quot;known&quot; is the &quot;ARIA role&quot;.  Today the validator correctly flags the value of &quot;unknown&quot; in this example as an error.

However, the Role Attribute Recommendation allows for additional vocabularies to be defined as long as those vocabularies are scoped as full URIs or as a CURIE.  Consequently, an element like &lt;foo prefix=&quot;dc: http://purl.org/dc/terms/&quot; role=&quot;dc:description dc:title known&quot;&gt; is 1) valid and 2) has a valid ARIA role that would be passed to the underlying accessibility technology layer.

My request is that the validator either 1) ignore role values that match the pattern for CURIE or FullURI, or 2) change the current error to a warning - as in &quot;warning, the values dc:description and dc:title are non-ARIA values, and will therefore be ignored by ARIA user agents.&quot;

(Note - technically the @prefix in the example above is not required, since there are some prefixes that are automatically defined in the RDFa Initial Context [3] - it is included for completeness)

[1] http://www.w3.org/WAI/PF/aria/roles
[2] http://www.w3.org/TR/role-attribute/
[3] http://www.w3.org/TR/rdfa-core/Overview.html#s_initialcontexts
[4] http://www.w3.org/1999/xhtml/vocab</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>