Accessibility test issue | Replace b (bold) elements with em or strong in rich text editor | Community
Skip to main content
October 10, 2019
Solved

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

  • October 10, 2019
  • 1 reply
  • 1072 views

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.
Best answer by Ankur_Khare

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
Community Advisor
Ankur_KhareCommunity AdvisorAccepted solution
Community Advisor
October 10, 2019

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/