-
Goal
Contextswitch row, and switch in general, work generally fine, except when it comes to transitioning from on->off or off->on, and the changing status could trigger an operation (i.e. sending requests to the back) that takes time. Although this is UX unfriendly, and the changing status should be performed in the background by following optimistic UI, it's very common getting into cases where you should really wait for a change to accomplish. You could get into this very easily in novum apps, where optimistic UI is not common. Because of that, we usually override the switch ptop with a ScreenRecording_06-26-2025.17-58-01_1.MP4This is not desirable, because the switch role completely disappears from the accessibility tree, when what we want is still there, disabled, visually hidden but available for ATs. Plus we want the component describing that the operation is in progress. ImpactA sturdy, standardized option for this could avoid naive implementations and clumsy workaround, conveying a better UX to visual impairment users. Discussion Questions
Additional considerationsI have a working proof of concept on this branch, if it could be a good starting point: Telefonica/mistica-web#1404 I've accomplished it by letting the Do you have a visual proposal? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi @brtbrt This is something we already we have identified and has been reported as a need in other components in the system, and we agree that it needs to be solved from the system side. We'll cover the row, and the rest of identified components in this issue Thank you for opening a discussion ❤️ You can follow the progress in the open issue |
Beta Was this translation helpful? Give feedback.
-
|
great! let's update that issue with the proof of concept, so as to ease webcore guy's work :) |
Beta Was this translation helpful? Give feedback.
Hi @brtbrt
This is something we already we have identified and has been reported as a need in other components in the system, and we agree that it needs to be solved from the system side.
#2151
We'll cover the row, and the rest of identified components in this issue
Thank you for opening a discussion ❤️
You can follow the progress in the open issue