Per Siteimprove Accessibility, it stated that CM1 H1 doesn’t have any landmark role (ex: main
or banner
) on Percussion’s Title Widget. Is there a way to implement the landmark?
Hi Aaron,
One easy fix for this would be to add an HTML attribute with the landmark role to the template region that contains the title widget.
This is great, Nate! Looks like I don’t have “Region HTML attributes” for Version 5.3.15 Build 201608P05 (584) [5315_20191105? Can you double-check?
Hi Aaron,
That feature was added in the 5.4 release, so you would need to upgrade if you are still running the 5.3 version to get the region HTML Attribute feature. The current release is 8.0.2.
The 8.0.3 release will be shipping shortly as well so you guys are a couple versions behind.
-n
Thank you, Nate, for letting us know. We haven’t upgraded to the latest version due to JS/jQuery issues on our custom widgets, plus other things. Is there no other way to implement the ARIA to our version level?
Hi Aaron,
The JS / JQuery updates were mainly security driven, I wouldn’t recommend not upgrading because you have to change some jquery scripts after the upgrade. Percussion Support can help you identify and fix issues post upgrade, and adding the jQuery Migrate script to your templates can also help in the transition of JQuery versions.
You can’t add html attributes to regions in the 5.3 version.
As a work around on the 5.3 version, you could either add custom JS to dynamically append the attribute to the region on the page load event, or you could do something like add a Widget Builder widget that starts a div then a second widget adds an end div, placing start widget before the region you need to have the landmark and the end div widget after the region. Kind of a clunky solution.
Better to upgrade IMO.
-n
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.