Re: [ARIA] aria-disabled and child elements

In general I don't mind about either way, but it looks a bit strange if
disabled content contained not disabled elements. Thus I slightly prefer
Firefox behavior.

On Tue, Mar 17, 2015 at 4:06 AM, Steve Faulkner <faulkner.steve@gmail.com>
wrote:

> The spec says [1] that children of an element with aria-disabled=true will
> inherit the disabled state
>
> In this example[3] the link is flagged as disabled (in Firefox)
>
> <div aria-disabled="true">
>   <a id="link1" href="#">link</a>
> </div>
>
> In this example the checboxes are flagged as disabled (in Firefox), note
> the 2nd checkbox has aria-disabled=false set.
>
> <div role="group" aria-label="disabled fieldset" aria-disabled="true">
>   <input type="checkbox"><br>
>   <input type="checkbox" aria-disabled="false">
> </div>
>
> question:
>
> In example 2 above, should the checkbox with aria-disabled=false override
> the disabled=true flag of its parent?
>
> [1] http://rawgit.com/w3c/aria/master/aria/aria.html#aria-disabled
> [2] https://code.google.com/p/chromium/issues/detail?id=467501
> [3] working example http://codepen.io/stevef/pen/PwxjpY
> --
>
> Regards
>
> SteveF
> HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>
>

Received on Tuesday, 17 March 2015 14:31:38 UTC