There are 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-f1e12af5-712a-4174-a0e9-0fb90ac62f0a XWIKI-22198 Open

Bootstrap switches are not keyboard accessible

 
View issue   ยท   Add comment
 

2 comments

 
cid:jira-generated-image-avatar-fbae7ac6-7e63-4055-b8a5-d2f0ae1d944f Charpentier Lucas on 05/Nov/24 14:07
 
Somehow in the Notification preference table, I cannot find a way to activate those from the keyboard anymore... I'm not sure why it worked in the previous video. This happens because the keyboard listeners are only on the input , and the input is set as `visibility: hidden` which hides it from the Tab order. It's not too difficult to reset its visibility and does not degrade the UI in any way.
 
cid:jira-generated-image-avatar-fbae7ac6-7e63-4055-b8a5-d2f0ae1d944f Charpentier Lucas on 05/Nov/24 14:08
 
Somehow in the Notification preference table, I cannot find a way to activate those from the keyboard anymore... I'm not sure why it worked in the previous video. This happens because the keyboard listeners are only on the input , and the input is set as `visibility: hidden` which hides it from the Tab order. It's not too difficult to reset its visibility and does not degrade the UI in any way.


Note that after an update of the state of the toggle, focus is lost (probably because the input is recreated? ).