This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 10439 - <input type=file> has "button" role, but is typically a compound control
Summary: <input type=file> has "button" role, but is typically a compound control
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: steve faulkner
QA Contact: contributor
URL:
Whiteboard:
Keywords: a11y, aria
Depends on:
Blocks: 10066
  Show dependency treegraph
 
Reported: 2010-08-26 03:28 UTC by Maciej Stachowiak
Modified: 2012-07-18 18:47 UTC (History)
6 users (show)

See Also:


Attachments

Description Maciej Stachowiak 2010-08-26 03:28:04 UTC
<input type=file> is typically presented as a compound control - for example:

Firefox: text field + button as in Firefox
Safari: button + optional icon + label

It is important to expose all parts of the control, so a "button" role for the whole thing is inappropriate. It would be better to have the default role be no role, since ARIA doesn't have a corresponding role for this particular compound control.
Comment 1 Ian 'Hixie' Hickson 2010-08-26 19:04:22 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's comments.
Comment 2 contributor 2010-08-26 19:05:27 UTC
Checked in as WHATWG revision r5362.
Check-in comment: fix role for <input type=file>
http://html5.org/tools/web-apps-tracker?from=5361&to=5362
Comment 3 Michael Cooper 2010-12-15 14:39:02 UTC
Bug triage sub-team thinks the ARIA mapping team should review and update this bug as the mappings are prepared, but no need for entire HTML A11Y TF to review. Note bug triage sub-team thinks it's possible the "fix" is actually a negative accessibility benefit, but not sure. ARIA mapping team should escalate if needed. Assigning to Steve Faulkner to track.