Support for ARIA Accessibility flags
-
The current live version generates code outside any ARIA Landmark sections. Whilst not all themes support ARIA landmarks, most of the official WP themes now provide this support.
Assuming the code is stored within the contentinfo section of the web page, suggest the following change is made to cookielawinfo.js
Line 49
jQuery('body').prepend(html);
is replaced by
var target=jQuery('[role="contentinfo"]'); if (target===undefined){ jQuery('body').prepend('<div role="contentinfo">'+html+'</div>'); }else{ target.append(html); }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Support for ARIA Accessibility flags’ is closed to new replies.