Closed Bug 2093151 Opened 12 days ago Closed 10 days ago

Changing the selected option's text in a collapsed <select> doesn't update the select's value

Categories

(Core :: Disability Access APIs, defect)

defect

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox-esr153 --- unaffected
firefox160 --- unaffected
firefox161 --- unaffected
firefox162 --- fixed

People

(Reporter: Jamie, Assigned: eeejay)

References

(Depends on 1 open bug, Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 external file)

STR (with NVDA):

  1. Open this test case:
    data:text/html,<select><option id="opt">a</select><div><button onclick="opt.textContent = 'b';">Change
  2. Press control+home to read the top line of the document.
    • Observe: NVDA says "combo box collapsed a"
  3. Press the "Change" button.
  4. Press control+home to read the top line of the document.
    • Expected: NVDA says "combo box collapsed b"
    • Actual: NVDA says "combo box collapsed a"

No event fires and the cached value isn't updated. nsAccessibilityService::ComboboxOptionMaybeChanged only fires a name change on the option accessible, and a collapsed select doesn't have any options after bug 2050939.

There's some work going on in this function in bug 2041789, so it probably makes sense to get that landed first before trying to fix this.

Eitan, we should probably get this one fixed ASAP. Are you planning to land bug 2041789 soon? If not, maybe we should tackle this one first and then resolve conflicts afterward.

Flags: needinfo?(eitan)

Set release status flags based on info from the regressing bug 2050939

I'm blocked on bug 2041789, so i'll look into fixing this.

Flags: needinfo?(eitan)
Assignee: nobody → eitan
Status: NEW → ASSIGNED
Pushed by eisaacson@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e170ddd5abe6 https://hg.mozilla.org/integration/autoland/rev/b990399fb169 Update collapsed select value if option text changes. r=accessibility-platform-reviewers,Jamie
Status: ASSIGNED → RESOLVED
Closed: 10 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
QA Whiteboard: [qa-triage-done-c163/b162]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: