Open Bug 1407676 Opened 7 years ago Updated 2 years ago

Setting accessibility selection should fire DOM selectstart event

Categories

(Core :: Disability Access APIs, enhancement, P3)

56 Branch
enhancement

Tracking

()

People

(Reporter: aaronlev, Unassigned)

Details

Steps:
1. Load a document
2. In developer console, listen to selectstart events, e.g.
document.addEventListener("selectstart", function(evt) {
  console.log('Selection started ', evt); 
}, false);
3. Start AccProbe and find an AccessibleText, expand it
4. Use AccessibleText.addSelection to set the selection

Notice that selectstart is not fired (it is fired when selection occurs via mouse).

Why this is useful: for complex web apps that need to respond to selections being set by an AT, e.g. via cursor routing on a Braille display.

See https://www.w3.org/TR/selection-api/#selectstart-event
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.