Opened 16 years ago

Closed 16 years ago

#3548 closed Bug (fixed)

Add lang attribute to editor UI elements.

Reported by: Martin Kou Owned by: Martin Kou
Priority: Normal Milestone: CKEditor 3.0
Component: Accessibility Version: SVN (CKEditor) - OLD
Keywords: Review+ Cc:

Description

Checkpoint 4.1 of WCAG: http://www.w3.org/TR/WCAG10/wai-pageauth.html#tech-identify-changes

The lang attribute is important because it tells screenreaders about the language it should use to read text. For example, if a screenreader assumes the page is written in English (because the webpage is written in English), yet the editor UI is being displayed in French (because browser's preferred language is French), then a screenreader would read the editor's UI labels as if it's written in English. That would mean unrecognizable speeches from the screen reader.

It should be enough to add the lang attribute to three places:

  1. The container element containing the main editor UI.
  2. The container elements containing dialogs.
  3. The iframe documents of floating panels.

Attachments (1)

3548.patch (2.1 KB) - added by Martin Kou 16 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 16 years ago by Tobiasz Cudnik

Owner: set to Tobiasz Cudnik
Status: newassigned

comment:2 Changed 16 years ago by Tobiasz Cudnik

Owner: Tobiasz Cudnik deleted
Status: assignednew

comment:3 Changed 16 years ago by Martin Kou

Owner: set to Martin Kou
Status: newassigned

Changed 16 years ago by Martin Kou

Attachment: 3548.patch added

comment:4 Changed 16 years ago by Martin Kou

Keywords: Review? added

comment:5 Changed 16 years ago by Frederico Caldeira Knabben

Keywords: Review+ added; Review? removed

comment:6 Changed 16 years ago by Martin Kou

Resolution: fixed
Status: assignedclosed

Fixed with [3526].

Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy