RE: SC 3.2.2 and table with changing columns

Why do you think there is a change of context? Nothing in Mattia's design causes a change of context according to the definition at https://www.w3.org/WAI/WCAG21/Understanding/on-focus#dfn-changes-of-context.


Also, why do you think that using switch buttons instead of checkboxes makes any difference?

Steve


-----Original Message-----
From: Jan Hellbusch <jan@hellbusch.de> 
Sent: 07 May 2021 17:20
To: w3c-wai-ig@w3.org
Subject: RE: SC 3.2.2 and table with changing columns

> I have a table which is first loaded with a default set of columns. 
> User can change columns visibility using a side menu with checkboxes; 
> when user toggles a column, the table is updated with the added/removed column.
> 
> Is this column update to be considered as a change of context, thus 
> requiring me to advise the user of it, according to Success Criterion 3.2.2 of WCAG 2.1?

I would say yes, it is a change of context. To be on the safe side, turn the checkboxes into switch buttons:
<p><input role="switch" type="checkbox" ...><label></label></p> Then you won't need to announce the change of context.

Jan


--
Hellbusch Accessibility Consulting
Chemnitzer Str. 50, 44139 Dortmund
Tel.: +49 (231) 58054815 Mobil: +49 (163) 3369925
--
Accessibility-Consulting seit 2000 

Leistungen, Bücher, Artikel: https://www.barrierefreies-webdesign.de

Blog: https://www.hellbusch.de

Received on Friday, 7 May 2021 17:22:46 UTC