Opened 7 years ago

Closed 7 years ago

Last modified 6 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 Minnekanti Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.6.1
Component: Accessibility Version: 3.0
Keywords: IBM Cc: Damian, Teresa Monahan, James Cunningham

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 7 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 7 years ago by Frederico Caldeira Knabben

Cc: damo,tmonahan,jamescundamo, tmonahan, jamescun
Status: newpending

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 7 years ago by Satya Minnekanti

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 7 years ago by Frederico Caldeira Knabben

Component: GeneralAccessibility
Status: pendingconfirmed

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

comment:4 Changed 7 years ago by Garry Yao

Owner: set to Garry Yao
Status: confirmedreview
Version: 3.0

Changed 7 years ago by Garry Yao

Attachment: 7266.patch added

comment:5 Changed 7 years ago by Frederico Caldeira Knabben

Status: reviewreview_passed

comment:6 Changed 7 years ago by Garry Yao

Resolution: fixed
Status: review_passedclosed

Fixed with [6951].

comment:7 Changed 6 years ago by Wiktor Walc

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