-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If accessibility is disabled dialogs cannot be opened #616
Comments
@oliverfoster don't suppose you could have a look at this, could you? |
I don't understand what you mean by 'if accessibility is disabled". Could you clarify plz? |
Hi @oliverfoster, sorry for not being clearer, by disabling accessibility I meant setting the following:
ref: https://github.com/adaptlearning/adapt_framework/blob/master/src/course/config.json#L14 |
I thought we'd removed that option. Why would you set this to false? |
it's a jolly good question, I don't think it would give you much advantage in any arena? Thank you so much for that PR 👍 |
Why are you setting it to _isEnabled: false? How did you find this bug? I need to know to tell you if the fix will work. 2025-01-20 Update: It was caused by an accidental AAT configuration |
As a warning to others: Notify and Drawer now use HTMLDialogElement.showModal instead of the Popups also now use CSS animations and positioning, rather than velocity animations and JavaScript calculations (except popup height, height is still derived and set in the JS). The popups changed over to showModal and CSS in this pr and a bug was found when Note that the It is worth noting that when upgrading a course or AAT to framework version >=5.42.1 (using core >=6.60.3 ) that the above bug will appear only when setting It is also worth noting that, if you have an existing theme, you will need to copy the default CSS popup animations and shadow animations from the corresponding vanilla pr. Without these defaults the Notify and Drawer popups will not animate. |
Observations:
display:none
by defaultThe text was updated successfully, but these errors were encountered: