<![CDATA[ Add aria-labels to Wayfinder Nav - My Forums]]> https://forums.modx.com/thread/?thread=101143 <![CDATA[Add aria-labels to Wayfinder Nav]]> https://forums.modx.com/thread/101143/add-aria-labels-to-wayfinder-nav#dis-post-545966
A banking client needs ADA compliance updates and one area is aria labeling of links for better descriptive information. I tried to add aria-label="" into the link attributes of their MODX resources but they don't seem to get picked up.

Is there a proven method to do this in MODX? Does Wayfinder have a way to insert aria labeling into the nav it generates?

Their issue is primarily short link titles for different sections of the site that are either redundant or not fully descriptive, ie. the landing page for each section is "Overview" which causes erros in reporting.

I appreciate an feedback from the group.

Thank you,

Mike]]>
msjetboy Oct 26, 2016, 06:48 PM https://forums.modx.com/thread/101143/add-aria-labels-to-wayfinder-nav#dis-post-545966
<![CDATA[Re: Add aria-labels to Wayfinder Nav]]> https://forums.modx.com/thread/101143/add-aria-labels-to-wayfinder-nav#dis-post-546011
Thank you again for the great information!

Mike]]>
msjetboy Oct 28, 2016, 01:09 PM https://forums.modx.com/thread/101143/add-aria-labels-to-wayfinder-nav#dis-post-546011
<![CDATA[Re: Add aria-labels to Wayfinder Nav]]> https://forums.modx.com/thread/101143/add-aria-labels-to-wayfinder-nav#dis-post-545996
What is the content of your Wayfinder menu tpl chunks?

What is the the content of your Wayfinder call?

You can use placeholders for the introtext (summary) and description fields from the resources for better descriptive text and add something like aria-label="[[+longtitle]]" to the tpl markup. Bear in mind though that your resource's fields will need to be filled in. If a bunch of pages were duplicated and every one left with the word "overview" in whatever field is outputting into the menus, all that will have to be fixed at the resource level.

Wayfinder docs are here: https://docs.modx.com/extras/evo/wayfinder]]>
frogabog Oct 28, 2016, 04:59 AM https://forums.modx.com/thread/101143/add-aria-labels-to-wayfinder-nav#dis-post-545996