5.5. Give advance warning before opening a new window

When a link opens a new window, warn the user in advance by specifying it (with the mention for example “new tab”).

For links on text, use the aria-label attribute:

<a href="gtc.html" target="_blank" aria-label="General Terms and Conditions (new tab)">
   General Terms and Conditions 
</a>

For links on icons and images, refer to 6. Images and Icons:

Note

Use of the title attribute also complies with accessibility requirements:

<a href="gtc.html" target="_blank" title="General Terms and Conditions (new tab)">
   General Terms and Conditions
</a>

Comments

Add a comment

Required fields are marked *.

Back to top