Re: Are role values case sensitive?

Thank you Leonie and Steve for your inputs


On Thu, Feb 7, 2019 at 3:24 PM Steve Faulkner <faulkner.steve@gmail.com>
wrote:

> Also see https://www.w3.org/TR/html-aria/#case-sensitivity for rules of
> use in HTML
>
> Authors *MUST* use lowercase ASCII letters
>> <https://w3c.github.io/html/infrastructure.html#lowercase-ascii-letters>
>> for all role token values and any state or property attributes (aria-*)
>> whose values are defined as tokens
>> <https://www.w3.org/TR/wai-aria-1.1/#propcharacteristic_value>.
>
> --
>
> Regards
>
> SteveF
> Accessibility is political[image: ✊]
> Working for the web
> <https://twitter.com/stevefaulkner/status/940835584410574850>,
> anywhere and everywhere [image: 🖖🏽]
>
>
> On Thu, 7 Feb 2019 at 09:39, Léonie Watson <lw@tetralogical.com> wrote:
>
>> The short answer is that yes, the roles are case sensitive. The longer
>> answer can be found in Section 9.1.2 of the ARIA1.0 specification, which
>> states:
>>
>> "The applicable WAI-ARIA role is the concrete WAI-ARIA role whose name
>> is matched by the first token in the sequence of tokens in the role
>> attribute
>> value
>>   which matches, on case-sensitive comparison, the name of any concrete
>> WAI-ARIA role."
>>
>> Interestingly, Section 9 Quality Assurance has been dropped in ARIA1.1,
>> possibly because it included informative guidance as well as normative
>> requirements. The case sensitivity is still relevant in practice though,
>> as you've discovered.
>>
>> Léonie.
>> [1] https://www.w3.org/WAI/PF/aria/qa
>>
>>
>> On 07/02/2019 00:46, Suman Damera wrote:
>> > Hi all,
>> >
>> > Hope you are doing good. I would like to understand whether the ARIA
>> > role values are case insensitive or case sensitive.  For example, if I
>> > put either role=”LINK”(all the upper case letters) or role=”LiNk”(mixed
>> > case) or role=”link”(lower case) then does it really matter? the reason
>> > for asking this question is that I found strange results while I am
>> > doing this particular study. During my study, the except NVDA FF and
>> > JAWS FF, no other combination(NVDA chrome, JAWS FF, JAWS chrome) really
>> > concerns the upper case/lower case of the role values. To put it
>> > simpler, except firefox combinations(JAWS FF and NVDA FF), other
>> > combinations(JAWS chrome, JAWS IE, NVDA chrome, NVDA IE) identifies the
>> > link as link irrespective of the lower/upper/mixed case. In addition,
>> > how about eh case sensitivity of the strings that we pass in the ARIA
>> > states/properties(ex: aria-expanded)
>> >
>> > Could you please clarify my queries and do needful?
>> >
>> > Thank you.
>> >
>>
>> --
>> Director @TetraLogical
>>
>>

Received on Monday, 11 February 2019 06:45:12 UTC