Template:Accessibility:Toolbarbuttons

  • Revision slug: Template:Accessibility:Toolbarbuttons
  • Revision title: Template:Accessibility:Toolbarbuttons
  • Revision id: 125472
  • Created:
  • Creator: salty-horse
  • Is current revision? No
  • Comment page content-type changed to 'application/x.deki0805+xml'

Revision Content

By default, toolbar buttons cannot receive focus with a keyboard. The recommended way of fixing this is that all functionality associated with a toolbar be duplicated elsewhere in the application, such as in a menu item or context menu. In cases where duplication of functionality is not possible (such as a window without a menu bar), toolbar buttons can be made focusable by adding the special CSS rule -moz-user-focus: normal. (Firefox's "Print Preview" window uses this fallback technique.) This should only be used as a last resort, and it should be consistent throughout a window (i.e. either all toolbar buttons are tabbable or none of them are).

Revision Source

<p><span lang="en" class="lang lang-en">By default, toolbar buttons cannot receive focus with a keyboard. The recommended way of fixing this is that <strong>all functionality associated with a toolbar be duplicated elsewhere in the application</strong>, such as in a menu item or context menu. In cases where duplication of functionality is not possible (such as a window without a menu bar), toolbar buttons can be made focusable by adding the special CSS rule <em><a title="en/CSS/-moz-user-focus" href="/en/CSS/-moz-user-focus">-moz-user-focus</a>: normal</em>. (Firefox's "Print Preview" window uses this fallback technique.) This should only be used as a last resort, and it should be consistent throughout a window (i.e. either all toolbar buttons are tabbable or none of them are).</span></p>
Revert to this revision