E-mail List Archives
Thread: Aria button mixed
Number of posts in this thread: 2 (In chronological order)
From: barry.hill3
Date: Thu, Apr 30 2020 1:42AM
Subject: Aria button mixed
No previous message | Next message →
Hi all
I'm systematically going through all the aria roles. Yesterday, I was
looking at aria button. I understand the other states, but not sure about
the button mixed. All I can find on the subject is that it represents a
group of elements that have a mixture of checked and unchecked values. Can
someone clarify by giving me an example of what elements might be used? A
working example would be useful too.
Thanks in anticipation.
Cheers
Barry
From: Birkir R. Gunnarsson
Date: Thu, Apr 30 2020 5:32AM
Subject: Re: Aria button mixed
← Previous message | No next message
You are confusing a button and a checkbox.
A checkbox can have 3 states (tri-state checkbox) e.g. if you have one
checkbox to check or uncheck a group of other checkboxes.
See this APG example
https://www.w3.org/TR/wai-aria-practices-1.1/examples/checkbox/checkbox-2/checkbox-2.html
You can check or uncheck all the checkboxes at once with the condament
mastercheckbox.
If you check or uncheck one of the individual checkboxes, the master
checkbox changes to "mixed".
On 4/30/20, = EMAIL ADDRESS REMOVED = < = EMAIL ADDRESS REMOVED = > wrote:
> Hi all
>
>
>
> I'm systematically going through all the aria roles. Yesterday, I was
> looking at aria button. I understand the other states, but not sure about
> the button mixed. All I can find on the subject is that it represents a
> group of elements that have a mixture of checked and unchecked values. Can
> someone clarify by giving me an example of what elements might be used? A
> working example would be useful too.
>
>
>
> Thanks in anticipation.
>
>
>
> Cheers
>
>
>
> Barry
>
>
>
>
>
> > > > >
--
Work hard. Have fun. Make history.