Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#7266 closed Bug (fixed)

Client side validation script needs to perform below steps to satisfy Checkpoint AA3.3.3: *WCAG 2.0 AA* Error Suggestions

Reported by: satya Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.6.1
Component: Accessibility Version: 3.0
Keywords: IBM Cc: damo, tmonahan, jamescun

Description

These techniques are defined in WCAG 2.0 Level AA Success Criterion 3.3.3. http://www.w3.org/TR/UNDERSTANDING-WCAG20/minimize-error-suggestions.html

when user leaves a mandatory field empty

  1. Client-side validation script should display a WAI-ARIA alert message to notify the user that the field is required.
  1. Validation script should add an aria-invalid="true" to the <input> element to inform a screen reader user that the input is invalid.
  1. Field label is changed so that the user can easily identify the field where information must be entered.

When user enters an input that falls outside the required format or values.

  1. Client-side validation script should display a WAI-ARIA alert message.
  1. WAI-ARIA alert message describes the nature of the error and the expected values to enable the user to correct the invalid input.
  1. validation script should also add an aria-invalid="true" to the <input> element to inform a screen reader user that the input is invalid.

Attachments (1)

7266.patch (2.0 KB) - added by garry.yao 5 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 follow-up: Changed 5 years ago by fredck

  • Cc changed from damo,tmonahan,jamescun to damo, tmonahan, jamescun
  • Status changed from new to pending

Validation is to be performed by the application using CKEditor, not by the editor itself. Can you please explain the features you feel are missing on the editor to be able to achieve this?

comment:2 in reply to: ↑ 1 Changed 5 years ago by satya

Replying to fredck:

Validation is to be performed by the application using CKEditor, not by the editor itself. Can you please explain the features you feel are missing on the editor to be able to achieve this?

CK Editor needs to add aria-invalid="true" to the <input> fields that

1) is Mandatory and left blank

2) needs a required from of input for ex: width & height fields.

comment:3 Changed 5 years ago by fredck

  • Component changed from General to Accessibility
  • Status changed from pending to confirmed

Ah, ok... you just forgot to mention what you're talking about: CKEditor dialogs.

comment:4 Changed 5 years ago by garry.yao

  • Owner set to garry.yao
  • Status changed from confirmed to review
  • Version set to 3.0

Changed 5 years ago by garry.yao

comment:5 Changed 5 years ago by fredck

  • Status changed from review to review_passed

comment:6 Changed 5 years ago by garry.yao

  • Resolution set to fixed
  • Status changed from review_passed to closed

Fixed with [6951].

comment:7 Changed 5 years ago by wwalc

  • Milestone set to CKEditor 3.6.1
Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy