Ticket #948 (new enhancement)

Opened 3 months ago

Accessibility improvements for error messages in forms

Reported by: mdawaffe Assigned to:
Priority: normal Milestone: 1.0-beta & XML-RPC
Component: Administration Version: 1.0-beta (trunk)
Severity: normal Keywords: accessibility
Cc:

Description

The way we output error messages in forms can be improved to offer greater accessibility.

Right now, error messages are printed out below the form input. When using a screen reader, you don't hear the error until after the input label (the row header) and the input.

Attached outputs the error as part of the label (the row header) so that a screen reader will speak the error message along with the label and header before reading the input form. This gives the user more context by strengthening the association between the error message and the relevant form field.

The attached patch uses CSS to put the error in a reasonable place on the screen.

Attachments

948.diff (9.3 kB) - added by mdawaffe on 08/27/08 03:38:33.
Current.png (14.6 kB) - added by mdawaffe on 08/27/08 03:47:53.
Patched.png (14.7 kB) - added by mdawaffe on 08/27/08 03:48:06.

Change History

08/27/08 03:38:33 changed by mdawaffe

  • attachment 948.diff added.

08/27/08 03:47:53 changed by mdawaffe

  • attachment Current.png added.

08/27/08 03:48:06 changed by mdawaffe

  • attachment Patched.png added.