Make sure button text is meaningful

Description

Location: 07 Wiki - Edit

Severity: 7

Description: The close button to dismiss the success message displayed after saving changes to an article does not have the proper role or a meaningful label. The control is rendered as "X link" through a screen reader. This is not meaningful and does not describe the purpose of the control.

Pattern: None

Auditor Note: Developers must ensure the proper role and name is provided for all controls. In this case, the element must be a button since it is performing an action and the name should be more meaningful such as "Dismiss Message" or "Close Message".
To convey the proper role, developers can use a standard HTML button element or add ARIA role="button" and making sure that space bar also actiavtes the button. It is recommended to use a standard HTML button because it will allow space bar to activate the button by default.
Compliant Example:
<button class="close" data-dismiss="alert" aria-label="Dismiss Message">&times;</button>

Internal Note: Agree with the suggested fix. There has also been an informal discussion about deprecating Wiki altogether.

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Status

Assignee

Greg Martin

Reporter

Mark Sadecki

Reach

None

Impact

None

Platform Area

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Story Points

1

Actual Points

None

Category of Work

None

Platform Map Area (Levels 1 &amp; 2)

None

Platform Map Area (Levels 3 &amp; 4)

None

Epic Link

Fix versions

Due date

2014/04/15

Priority

CAT-2
Configure