• dmazzoni@chromium.org's avatar
    Implement accessible states and notifications for the tab strip. · a98e3c6f
    dmazzoni@chromium.org authored
    This change just exposes information about what tabs are selected
    and fires proper notifications when tab selection changes. This will
    allow screen readers to announce when switching tabs even if the
    web content doesn't have focus. It's also a good first step towards
    making the tab strip fully accessible too (e.g. making it possible to
    perform operations on multiple tabs with just the keyboard).
    
    As part of this change I renamed the "selection changed" event to
    "text selection changed" so that there's no confusion between the
    text-selection-related events, and tab/list selection events.
    
    BUG=100412
    
    Review URL: https://codereview.chromium.org/349033010
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282396 0039d316-1c4b-4281-b951-d872f2087c98
    a98e3c6f
accessibility_extension_api.cc 10.7 KB