EU Acessibility Act starting from June 2025

Hello there

Here in the EU, we have been obliged to follow the guidelines of the Barrier Equality Act since June 2025. This also includes changing the CSS at the request of visitors. E.g. “light theme” or “dark theme” on click.

Since Cornerstone has the possibility to set a “rudimentary” global CSS but also exact CSS per object or even inline css, I wonder how to manage all these css’s per click.

The problem: I can set the general color for a paragraph (p tag) in the font manager, but this is always overwritten by the local setting for the text element. The global p-tag has the color “blue”, but the text element (paragraph) has the color “black”. So it is displayed in “black”.

This affects not only the text color, but also all text attributes, backgrounds, borders etc. controlled by css.

Has anyone at Themco thought about this problem yet?

Also: There has to be the chance to jump from one element to an another via the tab key. In PDF forms there is an option for numbering each element, so you actually can jump via tab key to the desired position. Is there a way how to achieve this with cornerstone without custom coding?

Hello @VRANKOVINA,

Thank you for the inquiry and for the info about Barrier Equality Act.

There are plugins available that allow you to toggle dark and light mode, such as Dark Mode Toggle and WP Dark Mode. Please check the links below.

https://wordpress.org/plugins/wp-dark-mode/
https://wordpress.org/plugins/dark-mode-toggle/

Regarding your issue with the default color, you can work around this by creating a component with the global color as its default value. You can then use this exported component as your default Text element.

The elements added via the CS builder should also be tabbable. Would you mind providing a link to a page where you’re testing this?

Best regards.

Thank you for the info!

I’m not testing yet. I thought to myself I’ll give the method “ask first, shoot later” a chance :smiley:

This Barrier Act is not only about light and dark mode, but color blindness in general. Reg Green blindness is actually very common, so every page that’s build upon a red/green scheme will get in trouble.

@tabbable: I’m not questioning that it works, I wonder if I can set the order, so the “blind” user jumps the way I want him to.

Cheers

Thank you for the update.

I’m not questioning that it works, I wonder if I can set the order, so the “blind” user jumps the way I want him to.

There are also plugins that allow you to add “skip links” enabling users to easily navigate to the main content of the page. Examples include WP Accessibility and Ally – Web Accessibility & Usability. These plugins also offer additional accessibility features that might be useful.

We will forward this issue to our channel. Thank you for your thoughts.

Thx a heap for the additional Info.

Speaking of this Act Mess. The change log of 6.6.3 version states a feature:

“Image Decorative setting which disables the alt tag”

What does this “disables the alt tag” exactly mean? I can hardly think of no alt tags in respect to the topic.

The “Decorative” option can be used for Image elements that are added purely for aesthetic or design purposes and have no relation to the actual content of the page. This can be enabled for image backgrounds for example.

This thread might explain it more clearly: https://stackoverflow.com/questions/23526791/when-is-it-acceptable-to-leave-the-alt-text-empty-on-an-html-image-if-ever

Oh great. I wonder if the lawmakers did get the memo as well.

No problem, Ondrej.