[WordPress] 外掛分享: Accesible _blank

首頁外掛目錄 › Accesible _blank
10+
安裝啟用
尚無評分
6247 天前
最後更新
問題解決
WordPress 1.5+ v1.1 上架:2008-10-10

內容簡介

英文:

在官方網頁查看實時演示 | Demo y página oficial:
ceslava.com

此外掛程式會搜尋文字中是否包含博客網域以外的鏈接,並以易用的方式在新視窗中打開它們。它會添加屬性 rel=”external”,並透過 JavaScript 來使這些外部語言在新視窗中打開。

它的全稱是「網頁內容無障礙性指南」。

西班牙語:

Demo y página oficial:
ceslava.com

這個外掛程式基於 Javi Moya 的「External Links New Window」,它添加了能夠在新視窗中打開外部鏈接的功能。問題是它不夠易用,因為屬性 _blank 不符合 W3C 標準。

「Accesible _blank」尋找所有在你的網域之外的鏈接,並添加 rel=”external”。所有擁有 external 屬性的鏈接都會在其它新的視窗中打開。它是可訪問的,因為屬性 _blank(不推薦使用)是透過 JavaScript 加入,不是寫在 XHTML 中。

為了告知使用者,它會在外部鏈接的屬性 title 中添加文字「(se abre en nueva ventana)」。若 title 已有內容,則會作為額外內容添加。

它遵循「Web 內容無障礙性指南」(WCAG)標準。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Accesible _blank」→ 直接安裝(推薦)

原文外掛簡介

English:
See a live demo at the official webpage | Demo y página oficial:
ceslava.com
This plugin searches the text for links outside of the domain of the blog and open them in a new window but in a accesible way. It adds the attribute rel=”external” and by javascript those external links are open in a new window.
It stands for Web Content Accessibility Guidelines.
Spanish:
Demo y página oficial:
ceslava.com
Está basado en el plugin para WordPress de Javi Moya External Links New Window que añade la funcionalidad de poder abrir enlaces externos en una nueva ventana. El problema es que no era accesible, ya que el atributo _blank no cumple los estándares W3C.
Accesible _blank busca todos los enlaces fuera de tu dominio y les añade rel=”external”. Todos los enlaces que tengan el atributo external se abrirán en una nueva ventana. Es accesible porque el atributo _blank (deprecated) se añade por javascript y no en el XHTML.
Para avisar a los usuarios se añade el atributo title a los enlaces externos con el texto “(se abre en nueva ventana)”, si title ya tiene contenido se añade a él.
Cumple las Pautas de Accesibilidad al Contenido en la Web (WCAG).

延伸相關外掛

文章
Filter
Apply Filters
Mastodon