Labels |
Added:
No Code Attached Yet
|
I have replace this code
MediaManager.Event.listen('onClickCreateFolder', function () {
return _this2.$store.commit(SHOW_CREATE_FOLDER_MODAL);
});
with this
MediaManager.Event.listen('onClickCreateFolder', function () {
document.querySelector('[tabindex="-1"]').focus();
return _this2.$store.commit(SHOW_CREATE_FOLDER_MODAL);
});
But it's not working , can you please give me some hint, I have tried by made a function for setting globally tabindex=-1 and calling it when clicking on the create folder button , it's also not working, so can you please give some hint;
If I could have fixed it then I would have done it myself. Sorry I dont have a clue
ok sir Thanks, I will try until I get the solution.
Labels |
Added:
a11y
|
@pritam825 you will need to jail the tab functionality only to the modal focusable elements, eg:
The functionality needs to happen on the opening of the modal and needs to be disconnected when the modal closes
@dgrammatiko Thanks, I am working according to your instruction
I have 2 solutions to this, problem, and I tried applying it on my local system but due to some reason the changes don't seem to work, I would need a little help regarding the solutions from anyone who is familiar with vue.js
I am pretty sure the solutions should work
@dgrammatiko
I have 2 solutions to this, problem, and I tried applying it on my local system but due to some reason the changes don't seem to work, I would need a little help regarding the solutions from anyone who is familiar with vue.js I am pretty sure the solutions should work @dgrammatiko
@akshitrattan You know that you have to compile the js, e.g. with npm ci
or npm run build:js
? See here for a description: https://docs.joomla.org/J4.x:Setting_Up_Your_Local_Environment
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-01-30 11:41:02 |
Closed_By | ⇒ | richard67 |
Closing as having a pull request.
I am working on this