AEM 6.4.5 RTE hyperlink

In the RTE, I want to add aria-label="1234" inside anchor tag for that i need to add one more field in hyperlink dropdown. How can i achieve that?
Thanks in advance!

In the RTE, I want to add aria-label="1234" inside anchor tag for that i need to add one more field in hyperlink dropdown. How can i achieve that?
Thanks in advance!
Hi @shikhasoni1 ,
To achieve the above scenario you have to follow 3 steps.
step1-using this it will add aria-label in anchor tag in crx/de but you will not be able to retrieve it in dialog
After doing the above steps you will get the below error in error.log
org.apache.sling.xss.impl.HtmlToHtmlContentContext AntiSamy warning: The a tag contained an attribute that we could not process. Thearia-label attribute had a value of "bookmark"
step2- To avoid RTE editor to strip them, I have disabled xss filtering for dialog by adding the property to the text node usinng disableXSSFilteringproperty {Boolean}true
step3-To avoid DOM to strip aria-label, content="unsafe" You should add in your html code
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.