-
Notifications
You must be signed in to change notification settings - Fork 0
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
New: Add option to disable popup and show error inline (fixes #12) #13
Conversation
@kirsty-hames Will you have a look at this and let me know what you think? I'm especially interested on your thoughts on accessibility of the solution (ex. should we use an |
Co-authored-by: Oliver Foster <[email protected]>
Co-authored-by: Oliver Foster <[email protected]>
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Created #14 for this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works well thanks @swashbuck. I've added some notes to an earlier comment querying the use of aria-live
. There's good reasoning for your implementation so unless we hear otherwise I don't think aria-live
is necessary.
Thanks, @kirsty-hames ! |
@oliverfoster @kirsty-hames I'm going to create a Core PR for this per the discussion in #14 . Update: created adaptlearning/adapt-contrib-core#594 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Retested with core PRs #593 and #595 and works as expected thanks 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
Version bump now required @swashbuck |
🎉 This PR is included in version 2.1.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Fixes #12
New
_showAsPopup
option to enable the instruction error popup. Whenfalse
(and by default), the error is shown inline instead.Dependencies
adaptlearning/adapt-contrib-core#593 ✅ Merged
adaptlearning/adapt-contrib-core#595 ✅ Merged
Testing
Expected result
The instruction text is highlighted.