Accessibility test issue | Replace b (bold) elements with em or strong in rich text editor | Community
Skip to main content
New Participant
Oct 10, 2019 5:14 AM UTC
Solved

Accessibility test issue | Replace b (bold) elements with em or strong in rich text editor

Hi after doing Accessibility test on our AEM website, we found Some issues are occurring with rich text editor component

i.e

1.4.4 Resize text (AA)

Check 116: b (bold) element used.

Repair: Replace your b (bold) elements with em or strong.

Line 3850, Column 36:

<b><a href="any link">Subscribe</a></b>

Line 3850, Column 132:

<b><a href="any link">newsletter</a></b>

Can we convert that <b> tag to <em> or <strong>. Kindly provide a resolution to fix that issue.

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Ankur_Khare
Ankur_KhareAccepted solution
New Participant
Oct 10, 2019 7:22 AM UTC

How are you applying the bold tag.

If you want to have custom stuff then use below plugin in rte then u can apply any tags.

https://mkbansal.wordpress.com/2016/01/09/aem-rte-custom-styles-plugin/

1 reply

Ankur_Khare
Ankur_KhareAccepted solution
New Participant
Oct 10, 2019 7:22 AM UTC

How are you applying the bold tag.

If you want to have custom stuff then use below plugin in rte then u can apply any tags.

https://mkbansal.wordpress.com/2016/01/09/aem-rte-custom-styles-plugin/

Translate