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

Avatar

Avatar

mohits37770250

Avatar

mohits37770250

mohits37770250

09-10-2019

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Ankur_Khare

MVP

Avatar

Ankur_Khare

MVP

Ankur_Khare
MVP

10-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/

Answers (0)