[WordPress] 外掛分享: Lang Attribute for the Block Editor

WordPress 外掛 Lang Attribute for the Block Editor 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Lang Attribute for the Block Editor」是 2022-11-22 上架。
  • 目前有 90 個安裝啟用數。
  • 上一次更新是 2024-01-14,距離現在已有 475 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 5.9 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
  • 有 3 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

audrasjb | whodunitagency | guillaumeturpin |

外掛標籤

lang | language | block-editor | accessibility |

內容簡介

此外掛的目的是提供一種方法,以確保網頁內容中任何語言改變都被輔助技術所指示。這個功能在區塊編輯器中默認是不可用的,因此目前使用區塊編輯器製作符合 WCAG 指南的網站仍然具有困難。

當然,我們希望這個非常簡單的功能能夠在不久的將來內建於區塊編輯器中,因為它確實有助於人們製作無障礙的網站。但是在短期內,我們需要一個解決方案,而此外掛就是解決方案之一,您可能想要使用它來使您的網站符合可達性指南 :)

更多說明:此外掛可幫助您使網站符合「Web 內容無障礙性指南(WCAG)成功標準3.1.2:各部分的語言」。此成功標準的目的是確保使用者代理程式可以正確地呈現多種語言的內容。

依據 Web 內容無障礙性指南:

這有助於使用者代理程式和輔助技術根據該語言的呈現和發音規則正確呈現內容。這適用於圖形瀏覽器以及螢幕閱讀器、盲用顯示器和其他語音瀏覽器。

如果每個文本段落的語言都被識別,輔助技術和傳統使用者代理程式都可以更準確地呈現文本。螢幕閱讀器可以使用文本語言的發音規則。視覺瀏覽器可以以適當的方式顯示字符和腳本。

當在從左到右閱讀的語言和從右到左閱讀的語言之間切換,或者用一種使用不同字母表的語言渲染文本時,這尤其重要。只要每個段落都以合適的方式呈現,知道網頁中使用的各種語言的殘障人士將更能理解內容。

原文外掛簡介

The intent of this plugin is to provide a way to ensure any language change in the content of a page is indicated to assistive technologies. This feature is not available by default in the block editor so it is difficult to make a website fully compliant to WCAG guidelines using the block editor for now.
We clearly hope this feature will be natively implemented in the block editor in middle term, because this very simple feature is really needed to help people to create accessible websites. But in short terms, we need a solution and this plugin is a solution you may want to use to make your website compliant to accessibility guidelines 🙂
For more context: this plugin helps you to make your website compliant to the Web Content Accessibility Guidelines (WCAG) success criterion 3.1.2: “Language of Parts”. The purpose of this success Criterion is to ensure that user agents can correctly present content written in multiple languages.
As per Web Content Accessibility Guidelines:
This makes it possible for user agents and assistive technologies to present content according to the presentation and pronunciation rules for that language. This applies to graphical browsers as well as screen readers, braille displays, and other voice browsers.
Both assistive technologies and conventional user agents can render text more accurately if the language of each passage of text is identified. Screen readers can use the pronunciation rules of the language of the text. Visual browsers can display characters and scripts in appropriate ways.
This is especially important when switching between languages that read from left to right and languages that read from right to left, or when text is rendered in a language that uses a different alphabet. Users with disabilities who know all the languages used in the Web page will be better able to understand the content when each passage is rendered appropriately.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Lang Attribute for the Block Editor」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.1 | 0.2 | 0.3 | 0.2.1 | 0.2.2 | trunk |

延伸相關外掛(你可能也想知道)

  • Loco Translate 》Loco Translate 提供在瀏覽器中編輯 WordPress 翻譯文件和與自動翻譯服務集成的功能。, 它還為開發人員提供 Gettext/本地化工具,例如提取字符串和生成模板。...。
  • Polylang 》ts, Polylang is developed by the Polylang team with the help of numerous contributors., If you want to contribute or report an issue, please visit ...。
  • Translate WordPress with GTranslate 》Translate WordPress with GTranslate外掛使用 Google Translate 自動翻譯服務,讓您的 WordPress 網站多語言化,並發揮 Google 的力量。有103種語言可供選擇...。
  • Translate WordPress – Google Language Translator 》Google Language Translator 外掛現已經成為 GTranslate 家族的一員!, GTranslate 自 2008 年以來一直是一家領先的網站翻譯服務提供商,為全球超過 500,000 ...。
  • Translate WordPress and go Multilingual – Weglot 》Weglot Translate是領先的WordPress翻譯外掛,全球有超過60,000個使用者信任。您可以在幾分鐘內將WordPress網站翻譯成110多種語言,無需編碼即可實現多語言。...。
  • Ray Enterprise Translation 》Ray Enterprise Translation 提供方便的基於雲端的本地化和WordPress翻譯,通過簡化創建和維護多語言網站的過程。其功能包括機器翻譯、專業翻譯和社區翻譯解...。
  • WPBakery Visual Composer & qTranslate-X 》這個外掛可以讓 qTranslate-X 多語言工具運作於 WPBakery Visual Composer 外掛程式中。, 需要 qTranslate-X 版本 3.3 或者 alpha 預發行版 以上版本。, 這個...。
  • Translate WordPress with ConveyThis 》ConveyThis Translate 是最精確、最快速、最容易使用的語言外掛,可將您的 WordPress 網站翻譯成超過 120 種語言!安裝 ConveyThis Translate 只需幾個簡單的...。
  • Bogo 》https://ideasilo.wordpress.com/bogo/, Bogo 是一個簡單易用的 WordPress 多語言插件。, WordPress 自身就具備本地化功能,可以讓您在除英語外的另一種語言...。
  • Multilingual Contact Form 7 with Polylang 》這個外掛可以通過使用 Polylang 和其字串翻譯功能,在多語言頁面上使用 Contact Form 7 表單。, 與其他解決方案不同,您不需要為每種語言創建一個表單,而是...。
  • Admin Locale 》這個外掛提供了在網站上以某種語言運行(例如阿拉伯語),並在管理面板中使用另一種語言(例如英語)的能力。, 只需前往「設定」»「一般」,然後選擇您...。
  • Language Fallback 》從WordPress 4.3開始,您可以在您的WordPress安裝中使用像“Deutsch (Sie)”(正式德語)這樣的語言。但是,如果您使用的主題或外掛沒有這種語言的...。
  • Multisite Language Switcher 》這是一個簡單、強大且易於使用的 WordPress 多語言外掛程式,可以為 WordPress 多網站 安裝增加多語言支援,例如多個子網域或資料夾(如果您需要跨多個網域建...。
  • Hreflang Manager – Hreflang Implementation for International SEO 》Hreflang Manager 外掛提供了一個簡單且可靠的方法,在 WordPress 中實現 hreflang 功能。, 要了解 hreflang 的技術用法,請參閱 Google 提供的官方文件。, P...。
  • Flag Icons 》此外掛可讓您在網站上加入國旗圖示以及可指定的鏈結,可藉由選擇所需的位置或使用簡碼實現。, 第二版支援 Google 翻譯圖示!, 您只需選擇位置、旗幟以及新增...。

文章
Filter
Mastodon