Open Bug 1897731 Opened 1 year ago Updated 1 year ago

Comboboxes report incorrect setsize

Categories

(Thunderbird :: Disability Access, defect)

Thunderbird 127
defect

Tracking

(Not tracked)

People

(Reporter: jdiggs, Unassigned, NeedInfo)

Details

(Keywords: access)

Steps to reproduce:

  1. Get into the calendar's New Event dialog
  2. Change the Repeat combobox's value (e.g. Every Weekday)
  3. Launch the Accerciser accessibility inspector and examine the attributes of the selected menu item, either via the UI or via the iPython Console (acc.getAttributes())

Expected results: The setsize attribute would reflect the total number of items in the combobox (e.g. 8)

Actual results: The setsize attribute is 1.

Impact: Orca (with its child-position feature enabled) says "Every Weekday. 4 of 1" instead of "Every Weekday. 4 of 8".

Note: Since posinset and setsize are platform-agnostic properties originating from ARIA and not something specific to Linux, this bug could impact Windows and/or Mac if those screen readers consume the attribute rather than calculating the correct value.

Here's the output from the iPython console:

['explicit-name:true',
 'display:flex',
 'margin-bottom:0px',
 'posinset:4', <-- GOOD
 'margin-top:0px',
 'tag:menuitem',
 'id:repeat-weekday-menuitem',
 'setsize:1', <-- WRONG
 'text-indent:0px',
 'margin-right:4px',
 'text-align:start',
 'margin-left:4px']

Joanmarie, thanks for the bug report.

Was this working correctly prior to your report?

Flags: needinfo?(jdiggs)
Keywords: access
Version: Trunk → Thunderbird 127

I'm honestly not sure. My guess is that this is a regression, but Orca's child-position feature is disabled by default. It's possible that it's always been this way and no one noticed.

Flags: needinfo?(jdiggs)

(In reply to Joanmarie Diggs from comment #2)

I'm honestly not sure. My guess is that this is a regression, but Orca's child-position feature is disabled by default. It's possible that it's always been this way and no one noticed.

Patrick do you have any insight?

Flags: needinfo?(patrick)
You need to log in before you can comment on or make changes to this bug.