Bug 362369

Summary: [Accessibility] Search this topic hover over box in TOC does not contain alt text and violates w3c guidelines.
Product: [Eclipse Project] Platform Reporter: Neal Timpe <natimpe>
Component: User AssistanceAssignee: Steve Francisco <stephen.francisco>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ChrisAustin, pwebster, remy.suen, stephen.francisco
Version: 4.2Keywords: accessibility
Target Milestone: 3.8 M4Flags: ChrisAustin: review+
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch to add 'title' attribute to anchor for menu text ChrisAustin: iplog+

Description Neal Timpe CLA 2011-10-28 16:38:16 EDT
Build Identifier: 3.1 and 3.6

The Javascript hyperlinks in the search and print table in the TOC do not contain alt text adn violate 1.1a, 2.4f, and 4.1b in the w3c checklist.

These elements are flagged as violations in this code sample: 
a, id="hideanchor", href="javascript:void window.location.reload();"

<tr>
<td id="lsubTopicsSearch" class="tdright" height="27" bgcolor="#c0c0c0" align="center" width="25"> &nbsp; </td>
<td id="psubTopicsSearch" nowrap="" onmouseover="highlightitem(this)">
<font size="-1">
</font>
<label id="searchLabela" accesskey="h" for="hideanchor"></label>
<a id="hideanchor" href="javascript:void window.location.reload();"> </a>

Reproducible: Always

Steps to Reproduce:
1. Open an eclipse page
2. Use Firebut to focus on the code in the TOC when the search and print table
pops up.
Comment 1 Paul Webster CLA 2011-11-03 06:56:26 EDT
Please provide a link to the checklist.

PW
Comment 3 Steve Francisco CLA 2011-11-09 19:53:35 EST
Created attachment 206746 [details]
patch to add 'title' attribute to anchor for menu text
Comment 4 Steve Francisco CLA 2011-11-10 16:39:10 EST
patch ready for review.  Anchor objects don't have an alt attribute but the 'title' attribute does cause hover text to appear.
Comment 5 Chris Austin CLA 2011-11-11 12:56:52 EST
Patch looks good.

Patch committed to master.