-
Notifications
You must be signed in to change notification settings - Fork 1
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
Modal functionality #76 #256
Conversation
Hello, I'm the AEM Code Sync Bot and I will run some test suites that validate the page speed.
|
|
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.
Add a ? to modalContent.querySelector('iframe, video').remove();
just like on line 123/124
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.
I’m missing the possibility to add text to the modal. It’s not documented well: You can see it in use on Digital Reveal. |
|
|
I added the heading. I'm checking if the first section of the modal document contains a heading only. If so, the heading is displayed as a modal heading. |
Nice solution. I’m noting it for documentation. |
Some accessibility things should be worked on:
|
|
|
Done |
@TomaszDziezykNetcentric another –major– concern I have is the fact that blocks break in the modal due to a missing I thought of some solutions directions…
I guess that the latter item has the least impact. What do you think? I would like to hear @Lakshmishri’s opinion about this as well Edit: I’m unsure how it will impact our JS, didn’t look into that yet. |
The problem doesn't sound like a simple one :( I think the last solution (replacing BTW IMO we should solve those problems in the scope of another ticket. The scope of this story was to display a modal top bar and was estimated to be 2 SP without testing (we assumed that it is the POC) :) |
|
|
|
|
|
* Add modal top bar * Add opening the links with modal link * Refactor the modal background color * Improve modal accessibility --------- Authored-by: Tomasz Dziezyk <[email protected]>
* Add modal top bar * Add opening the links with modal link * Refactor the modal background color * Improve modal accessibility --------- Authored-by: Tomasz Dziezyk <[email protected]>
* Add modal top bar * Add opening the links with modal link * Refactor the modal background color * Improve modal accessibility --------- Authored-by: Tomasz Dziezyk <[email protected]>
Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #76
Test URLs: