Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #26931, comment 6


Ignore:
Timestamp:
01/29/2014 07:06:21 PM (12 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26931, comment 6

    initial v1  
    11Generally `:focus` is triggered on clicking any "focusable" element (links, form elements), `:active` is for links and buttons while the mouse button is down. Focusing link or button by tabbing would also make it `:active`.
    22
    3 In the TinyMCE toolbar the active elements are `<div tabindex="-1"> (focusable only with JS) so `:focus` can be used on them and it won't trigger on clicking.
     3In the TinyMCE toolbar the active elements are `<div tabindex="-1">` (focusable only with JS) so `:focus` can be used on them and it won't trigger on clicking.