Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #10448
Closed
Open
Issue created Sep 04, 2013 by Administrator@rootContributor

split button dropdown control is missing a label for accessibility APIs

Created by: ckundo

When navigating to the dropdown caret in the split button dropdown, a screen reader user should hear an announcement of the label of the control (as recommended in WCAG2 technique H91).

The following markup in v3.0.0-rc.2 does not yield that behavior. The screen reader should announce the button's behavior (e.g. "Expand button"), but instead it only announces "Button".

components.html line 744

<button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown">
  <span class="caret"></span>
</button>

To test on a Mac, go to http://jsfiddle.net/3GRus/show/ in Chrome or Safari, enable VoiceOver with or install ChromeVox, and press the tab key until the button has focus.

Tested with and VoiceOver and ChromeVox screen readers on OS 10.8.4, surfaced by HTML CodeSniffer.

Assignee
Assign to
Time tracking