<?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>23378</bug_id>
          
          <creation_ts>2013-09-27 08:30:24 +0000</creation_ts>
          <short_desc>ARIA: Strong Native Semantics table should defined implicit non-required state on form elements (Currently defines required state, but not the implicit inverse)</short_desc>
          <delta_ts>2014-01-02 21:31:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>ARIA</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          <dependson>23376</dependson>
    
    <dependson>23377</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Pieters">zcorpan</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>faulkner.steve</cc>
    
    <cc>ian</cc>
    
    <cc>jcraig</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-a11y</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>93934</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-09-27 08:30:24 +0000</bug_when>
    <thetext>+++ This bug was initially created as a clone of Bug #23377 +++

+++ This bug was initially created as a clone of Bug #23376 +++

@required is a Boolean attribute in HTML.
@aria-required is a &quot;true/false&quot; (boolean) attribute in ARIA.

The spec currently defines in the Strong Native Semantics table that:

input element that is required = The aria-required state set to &quot;true&quot;…
select element with a required attribute = The aria-required state set to &quot;true&quot;…
textarea element with a required attribute = The aria-required state set to &quot;true&quot;…

but since the HTML host language attribute is Boolean, the same elements *without* the required attribute defined are implicitly *not* required. Therefore, the strong native semantics table should also include:

input element that is not required = The aria-required state set to &quot;false&quot;…
select element without a required attribute = The aria-required state set to &quot;false&quot;…
textarea element without a required attribute = The aria-required state set to &quot;false&quot;…

Otherwise, the spec is implying that &quot;HTML true is in conflict with ARIA false&quot; but &quot;HTML false is not in conflict with ARIA true&quot;, and defining one-way conflict resolution does not make sense for a Boolean state like this.


Likewise:
Element that is disabled = The aria-disabled state set to &quot;true&quot;

So the table should also include:
Element that is not disabled = The aria-disabled state set to &quot;false&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93967</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-09-27 18:09:10 +0000</bug_when>
    <thetext>According to ARIA, false is the default, so it doesn&apos;t have to be specified explicitly. See http://www.w3.org/TR/wai-aria/states_and_properties#aria-required</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96248</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-11-13 21:18:04 +0000</bug_when>
    <thetext>In one of the ancestors of this bug, steve points out that it&apos;s reasonable to have an element that&apos;s not marked as required=&quot;&quot; to be marked as aria-required=&quot;&quot; because the element might be labeled in prose as required even though it isn&apos;t required=&quot;&quot;, since the semantic of ARIA&apos;s &apos;required&apos; is merely informative to the user, while required=&quot;&quot; implies UA behaviour.

The contrary doesn&apos;t make sense.

So required=&quot;&quot; should strongly imply aria-required=true (and disallow not having aria-required or saying aria-required=false), and the lack of required should only weakly imply aria-required=false (not disallow setting aria-required=true).

This, as far as I can tell, is what the WHATWG spec says. (Note that the W3C spec has forked from this and seems to be bogus now, e.g. pointing to the wrong definition of &quot;required&quot; on the HTML side, having strong ARIA semantics in the weak ARIA semantics table, unnecessarily setting aria-required to its default, etc. The same mess seems to afflict aria-hidden for some reason.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96261</commentid>
    <comment_count>3</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2013-11-13 22:25:00 +0000</bug_when>
    <thetext>&quot;pointing to the wrong definition of &quot;required&quot; on the HTML side&quot;

thanks for pointing out this bug, as to the rest we can agree disagree :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97950</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-01-02 21:31:53 +0000</bug_when>
    <thetext>Since there&apos;s not been any rationale provided that contradicts what the spec says, and since there&apos;s been rationale provided that supports what the spec says, I&apos;m marking this WORKSFORME. Please do reopen the bug if there&apos;s a reason why the logic in comment 2 is wrong in some way.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>