Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
B
bootstrap
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Administrator
  • bootstrap
  • Repository

Switch branch/tag
  • bootstrap
  • docs
  • _includes
  • components
  • button-groups.html
Find file
BlameHistoryPermalink
  • Patrick H. Lauke's avatar
    generalize dropdowns / drop role="menu" · 5fd7bc15
    Patrick H. Lauke authored Jun 02, 2015
    as role="menu" is a very specific (and strict) ARIA pattern for
    desktop-like application menus, and our dropdowns are often used
    as pure navigation dropdowns, this change abandons ARIA menus for
    a more open-ended and light-weight approach
    (see http://heydonworks.com/practical_aria_examples/#submenus and
    http://www.w3.org/WAI/tutorials/menus/flyout/#improve-screen-reader-support-using-wai-aria)
    note that in dropdown.js, switched to now target ``.dropdown-menu``
    instead of ``role["menu"]`` - this also prevents bootstrap scripts
    from "bleeding" into non-bootstrap components on the same page.
    also removed the ``role=["listbox"]`` part, which appears to be
    vestigial/unused (only place in bootstrap that uses that
    role are carousels, and their key handling is done separately)
    5fd7bc15
button-groups.html 14.3 KB
EditWeb IDE

Replace button-groups.html

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.