Expand my Community achievements bar.

SOLVED

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

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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/

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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/