Bug 362369 - [Accessibility] Search this topic hover over box in TOC does not contain alt text and violates w3c guidelines.
Summary: [Accessibility] Search this topic hover over box in TOC does not contain alt ...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 4.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.8 M4   Edit
Assignee: Steve Francisco CLA
QA Contact:
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2011-10-28 16:38 EDT by Neal Timpe CLA
Modified: 2011-11-11 12:56 EST (History)
4 users (show)

See Also:
ChrisAustin: review+


Attachments
patch to add 'title' attribute to anchor for menu text (590 bytes, patch)
2011-11-09 19:53 EST, Steve Francisco CLA
ChrisAustin: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.