Orange-OpenSource / ods-ios

A SwiftUI components library with code examples for Orange Design System
https://orange-opensource.github.io/ods-ios/
MIT License
26 stars 6 forks source link

[P1][Bug][a11y] Focus order of "customization" bottom sheet is incorrect #703

Closed pya35 closed 6 months ago

pya35 commented 6 months ago

Prerequisites

Your test device

iPhone 14 Plus

OS Version

17.1.1

App version

v0.18.0

Describe the issue

Inside almost all variants, when there's a "customization" bottom sheet, in most of cases, the focus order is not correct Sometimes the first element focused is "customization" (instead of page title or main description), sometimes elements inside the sheet are ordered inconsistently. image

NB: behavior is correct on variant Buttons>Icons and Sliders demo

Expected Behavior

On each variant page, focus order should be :

  1. back button
  2. colour palette 3 all interactive elements in demo view (focus forced on first element of this view on page loading)
  3. customization sheet, and following elements in order
  4. tab bar
pya35 commented 6 months ago

OK sur 0.18 (1708889908)