Re: Technique : C27 and GDPR compliant cookie banner

On 26/04/2021 11:57, Steven Mouret wrote:
> Hello,
> 
> The GDPR obliges to collect the consent of users for the processing of 
> their personal data. A banner is therefore added and very often it is 
> positioned sticky at the bottom of the page. However the banner should 
> be positioned in the code at the beginning of the DOM. If I understand 
> well the C27 technique 
> <https://www.w3.org/WAI/WCAG21/Techniques/css/C27> in the case where the 
> banner is positioned at the top of the DOM, should it also be positioned 
> visually at the top of the page?

Note that C27, as a technique, is not mandatory per se. It's only *one* 
way to address the referenced success criteria (1.3.2 meaningful 
sequence and 2.4.3 focus order).

Both 1.3.2 and 2.4.3 do not mandate that content order/focus order 
*must* absolutely match the visual layout. Only that it should make 
sense. So a banner that visually appears at the very bottom of the 
viewport, but receives focus first/comes first in the reading order, is 
perfectly acceptable. (for 2.4.3, I've got a pull request awaiting 
review/survey that would add this clarification more explicitly 
https://github.com/w3c/wcag/pull/1643 ... I may see if I can/should do a 
matching one for 1.3.2)

P
-- 
Patrick H. Lauke

https://www.splintered.co.uk/ | https://github.com/patrickhlauke
https://flickr.com/photos/redux/ | https://www.deviantart.com/redux
twitter: @patrick_h_lauke | skype: patrick_h_lauke

Received on Monday, 26 April 2021 16:19:10 UTC