Open Bug 1577778 Opened 5 years ago Updated 3 years ago

Simulation options are not in the correct order

Categories

(DevTools :: Accessibility Tools, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: mislam, Unassigned)

References

(Blocks 1 open bug)

Details

Currently, the simulation menu options do not appear in the correct order because the order was specified as an object which is not an ordered struct (see devtools/client/accessibility/components/SimulationMenuButton.js Line44-50). This should be replaced with an array.

The correct order of the options (in order from most common to least common vision deficiency):

  [SIMULATION_TYPE.DEUTERANOMALY],
  [SIMULATION_TYPE.PROTANOMALY],
  [SIMULATION_TYPE.PROTANOPIA],
  [SIMULATION_TYPE.DEUTERANOPIA],
  [SIMULATION_TYPE.TRITANOPIA],
  [SIMULATION_TYPE.TRITANOMALY],
  [SIMULATION_TYPE.CONTRAST_LOSS]

Thanks for the report!

Honza

Blocks: 1694623
Severity: normal → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.