Add shift-tab keyboard support for dialogs (modal & Offcanvas components)#33865
Conversation
72e4d96 to
fd2086b
Compare
b6b8f06 to
7e7a0a5
Compare
|
@RyanBerliner can you rebase your MR please? |
7e7a0a5 to
1566098
Compare
|
@GeoSot I've rebased. It looks like #33327 introduced a dependency of |
Yes, seems right as it has a foreign dependency. Can you handle it ? (maybe /cc @rohit2sharma95 , @alpadev |
|
I hadn't realized how dependent other utility functions were on |
|
Seems good to my eyes. CC: @twbs/js-review |
|
@RyanBerliner , can we update this MR (and resolve the suggestion)? |
|
@patrickhlauke: LGTY? |
|
FYI This doesn't pass on BrowserStack + there are some warnings: https://github.com/twbs/bootstrap/runs/3125887723 We should get those sorted before landing this :) |
|
@XhmikosR the warnings seem simple enough, I can handle them. The failed tests on the other hand seem to be related to differences in how the |
|
I will support the 'drop' case, for one more time. However try to leave a comment about it, for future reference |
patrickhlauke
left a comment
There was a problem hiding this comment.
Testing the behaviour, this now seems to behave correctly. Not looked at the code side, but from a functional point of view, this looks good to me
|
@XhmikosR I'm not sure I have the permission to re-run browserstack tests, however I believe everything should be resolved. If there are still warnings or errors that you'd like me to revisit lmk. |
Co-authored-by: GeoSot <geo.sotis@gmail.com>
|
All good @RyanBerliner thanks! Also, thanks to @GeoSot everything seems to be good to go. |
Fixes #28481
There are a couple issues (primarily #33804) that aim to fix inconsistent screen reader navigation or announcements. The work I've done here only concerns tab navigation.
TODO:
focusableChildrenselectorisVisibleutility function (tracking isVisible utility function returning false positives #33914)Preview Modal
Preview Offcanvas