Beschreibung
Web Content Accessibility Guidelines (WCAG) Success Criterion 3.2 (Predictable) specifies that web pages should appear and operate in predictable ways. It is a common practice to set links that go to off-site locations to open in a new window or tab when clicked. Opening new windows or tabs automatically when a link is activated can be disorienting for people who have difficulty perceiving visual content, and for some people with cognitive disabilities, if they are not warned in advance.
This plugin helps websites become more accessible and better meet WCAG guidelines for predicability by providing advanced warning if a link is going to open a new window or tab before the user clicks or activates it. Providing a warning allows the user to decide it they want to leave the current window, and the warning will help them find their way back, if they do decide they would like to go to the new window. It will help them understand that the „back“ button will not work and that they have to return to the last window they had open, in order to find their previous location.
Es gibt keine Einstellungen in diesem Plugin. Aktiviere es einfach und es findet automatisch alle Links, die sich in einem neuen Fenster öffnen und fügt jedem Link die folgenden drei Korrekturen hinzu:
1. Ein Icon für ein neues Fenster nach dem Linktext, um darauf hinzuweisen, dass der Link für Sehende in einem neuen Fenster geöffnet wird.
2. Ein Tooltip, der bei Mauszeigerkontakt sichtbar ist und „öffnet ein neues Fenster“ anzeigt.
3. Ein Screenreader-Text „öffnet ein neues Fenster“, der Blinden oder sehbehinderten Menschen, die Screenreader verwenden, unmittelbar nach dem Link-Ankertext vorgelesen wird.
Please note: new window warnings will be added to links and links that have been styled to look like buttons, including social media sharing and link icons. Depending upon what third party plugins are adding links to your site that open in new windows, some CSS styling may be required.
In addition to adding warnings for your users, this plugin integrates with the Accessibility Checker plugin; when Accessibility New Window Warnings is activated, it will automatically clear all „Link Opens New Window or Tab“ warnings in Accessibility Checker scans of your website. Installing and activating this plugin is a great way to quickly remediate and remove a lot of open issues across you entire website.
The Accessibility New Window Warnings plugin is inspired by Techniques for WCAG 2.0 G201: Giving users advanced warning when opening a new window.
Lokalisierung
Das Plugin Accessibility New Window Warnings ist bereit für die Lokalisierung. Wir haben eine spanische Übersetzung hinzugefügt und sind offen für weitere Übersetzungen!
Wenn du eine Übersetzung zu diesem Plugin beisteuern möchtest, kontaktiere uns oder forke das Repository auf GitHub.
Screenshots
Zeigt das neue Fenster-Icon an, das am Ende eines Textlinks hinzugefügt wird. Zeigt den Tooltip „öffnet ein neues Fenster“ bei Mauszeigerkontakt an. Zeigt den Screenreader-Text „öffnet ein neues Fenster“ an, der nach dem Linkanker im HTML des Links eingefügt wird. Zeigt das neue Fenster-Icon an, das einem mit dem Block-Editor erstellten Button hinzugefügt wird. Zeigt die neuen Fenster-Icons, die von einem Drittanbieter-Plugin in die Buttons für das Teilen von sozialen Medien eingefügt werden.
Installation
Die ersten Schritte mit Accessibility New Window Warnings sind so einfach wie das Installieren und Aktivieren des Plugins. Es gibt keine Einstellungen zu konfigurieren, es funktioniert einfach!
Installieren von Accessibility New Window Warnings in WordPress
- Visit the plugins page within your dashboard and select ‘Add New’.
- Suche nach ‚Accessibility New Window Warnings‘;
- On the Accessibility New Window Warnings plugin, click or activate the ‚Install‘ button.
- Aktiviere Accessibility New Window Warnings auf deiner Plugins-Seite.
Manuelles Installieren von Accessibility New Window Warnings
1. Lade den entpackten Ordner ‚accessibility-new-window-warnings‘ per FTP in das Verzeichnis /wp-content/plugins/ deiner Website hoch.
2. Aktiviere Accessibility New Window Warnings auf deiner Plugins-Seite.
FAQ
-
Woher weiß das Plugin, welche Links neue Fenster öffnen?
-
Das Plugin sucht nach
target="_blank"
in deinen Links. Wenntarget="_blank"
vorhanden ist, erkennt es, dass der Link ein neues Fenster öffnet und fügt automatisch die Warnung hinzu. -
Ist dieses Plugin mit dem Block-Editor, dem klassischen Editor oder dem Page-Builder XYZ kompatibel?
-
Ja. Ganz gleich, wie du deine Inhalte erstellst, dieses Plugin wird funktionieren. Es verwendet JavaScript, um die Links zu erkennen und sie zu korrigieren, während die Seite gerendert wird, sodass es keine Rolle spielt, welches Werkzeug du zum Erstellen deiner Inhalte verwendet hast.
-
When it comes to accessibility, warning users about links opening in new tabs or windows applies to all links, not just links in your body text. Adding the visible icon is important for users with cognative disabilities or mobility challenges so they are warned about the new window before clicking on or activating links – it’s not sufficient to just add screen reader text for blind and visually imparied users.
Depending upon how you’re adding linked icons, we understand that this can cause a less than ideal appearance. If you don’t like how the visible icon appears you have a couple of options: either change the link to not open in a new window or change the design of your social media or icon buttons either with that plugin’s settings or custom CSS. It’s generally not considered correct to hide the visible icon.
-
Macht dieses Plugin meine Website barrierefrei?
-
This plugin can help to make your website more accessible by fixing a common issue, however it alone will not make your website accessible. True accessibility requires manual and automated testing and a human being making fixes in the website. While problems can be resolved with an automated tool such as this, not all accessibility problems can be identified automatically. Learn more about how to test your website for accessibility errors
Rezensionen
Mitwirkende & Entwickler
„Accessibility New Window Warnings“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:
Mitwirkende„Accessibility New Window Warnings“ wurde in 7 Sprachen übersetzt. Danke an die Übersetzerinnen und Übersetzer für ihre Mitwirkung.
Übersetze „Accessibility New Window Warnings“ in deine Sprache.
Interessiert an der Entwicklung?
Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.
Änderungsprotokoll
1.1.0
- Fixed – tooltips can now be dismissed using the Escape key, ensuring better accessibility
- Fixed – tooltip content is now hoverable, preventing accidental dismissal
- Refactored – code for better performance and maintainability using modern JavaScript practices
1.0.10
- Added – detection and processing of window.open() links with consistent tooltip/ARIA label handling for both target=“_blank“ and window.open()
1.0.9
- Updated – tested up to version
1.0.8
- Added – support for FacetWP dynamic content
1.0.7
- Updated – textdomain to plugin slug
- Updated – member variable doc comment
- Removed – call to local languages folder
1.0.6
- Updated – tested up to version
1.0.5
- Added – localization support.
- Added – Spanish translation.
1.0.4
- Updated – space between icon and link text moved to the icon pseudo class
1.0.3
- Added – class .anww-tooltip class to the tooltip
- Added – inline styles to tooltip
- Updated – css clean up and improvements
1.0.2
- Updated – on focus positioning to use offset
1.0.1
- Added – support for image within links
- Added – check for aria-label on links
1.0.0
- Everything is new and shiny.
- We think it’s awesome you want to make your website more accessible.