-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.X EE, 7.0.X EE, Master
-
Fix Version/s: 6.2.X EE, 7.0.0 DXP FP14, 7.0.0 DXP SP3, 7.0.3 CE GA4, 7.0.X EE, 7.1.X, Master
-
Component/s: ~[Archived] UI Taglibs
-
Branch Version/s:7.0.x, 6.2.x
-
Backported to Branch:Committed
-
Fix Priority:1
-
Git Pull Request:
When we are using a screen reader to read a page where is a link generated by ATag taglib, the text 'Opens new window' is read twice.
Looking into the taglib code, we can see the information is being duplicated in title and a span label inside the content.
Steps to reproduce
1.- Start Liferay (master)
2.- Add a portlet (i.e. bookmarks)
3.- Go to Configuration --> Sharing --> Facebook
4.- Inspect the HTML associated to the link with text "Get the API key and canvas page URL from Facebook"
Expected Result
The information about the link will be opened in a new window appears once.
Actual Result
The information about the link will be opened in a new window appears twice:
<a href="http://developers.facebook.com" target="_blank" title="(Opens New Window)">Get the API key and canvas page URL from Facebook. <span class="sr-only">(Opens New Window)</span> </a>
- relates
-
LPE-15862 'Opens New Window' appears twice in links generated by ATag taglib
-
- Closed
-