MCKIN-12194 To close MCQs MRQs dialogue via keyboard to make them accessible through keyboard - #248
Conversation
|
@musmanmalik, I am reviewing this PR now. |
|
@musmanmalik, I added an MCQ XBlock with a tip message for a choice to a test course on the Ironwood devstack. However, I could not get the close button to show up at all. There is CSS to hide it and I could only get it to show up by manually disabling that style using the browser developer console. Is this expected or did I miss configuring something? If it is the latter, can you post a detailed list of testing instructions? With the close button visible, I was able to see the style to highlight the close button on keyboard focus. |
|
Hi @lgp171188 thank you so much for your response. Previously it was div element which can not get keyboard focus. This have been changed to button which is accessible via keyboard. So there is need to test close button is accessible or not. So I have tested it by using xblock-sdk. |
|
@musmanmalik, testing using the XBlock SDK makes no sense if the actual usage of the XBlock doesn't show the close button for which these changes have been made. So should this PR be tested in the solutions devstack or the associated custom LMS frontend? |
|
@lgp171188 By default its hidden in xblock. We are using custom LMS and we have enabled this close button in our environment. cc: @xitij2000 |
|
@musmanmalik, since I don't have a working solutions devstack and don't want to spend a lot of time trying to get it to work, is this PR available somewhere on some QA/integration or similar environments so that I can test it directly there? |
|
@lgp171188 No, This could not be available on QA/Integration or any environment at our side until not merged in xblock. cc: @xitij2000 |
|
@musmanmalik, I asked for a teammate's help to test and verify this on the custom frontend. |
|
@lgp171188 , @Agrendalath Please create a release tag as well. |
|
@musmanmalik, since the |
|
@lgp171188 version updated; kindly merge it and create. Many thanks. |
|
@musmanmalik, I have merged this PR and tagged the |


The feedback tooltip non-modal dialogs cannot be closed via keyboard. The screen reader does not announce anything when the button receives keyboard focus. Users of assistive technology and keyboard-only users don't have access to controlling the dialogs.
When we submit response of MCQ or MRQ having tips dialogue. The dialogue had close control which cannot be closed with keyboard. In this Pull Request I have made them accessible by changing div to button and some supporting style.
@xitij2000 @Agrendalath Please review this PR .