-
Notifications
You must be signed in to change notification settings - Fork 183
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
Mwpw 169999 header obscures content #3898
base: stage
Are you sure you want to change the base?
Conversation
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
|
This pull request is not passing all required checks. Please see this discussion for information on how to get all checks passing. Inconsistent checks can be manually retried. If a test absolutely can not pass for a good reason, please add a comment with an explanation to the PR. |
@mokimo I pushed solution using JS.
I left some comments for easier review, will remove them later. I added the code to accessibility file, if you think it should be added somewhere else let me know (same goes for calling of the function) |
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 quite like this approach and it has worked well during my testing. Just a few small nits, but looking great otherwise and much more straightforward than the previous implementation 👌
position: sticky; | ||
bottom: 0; | ||
/* #onetrust-banner-sdk z-index value */ | ||
z-index: 2147483645; |
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.
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.
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.
The experience is a lot better when tabbing, glad this went through a few iterations and we really managed to improve it!
Issue: When navigating a page by using

Tab
orShift + Tab
, focused element that is hidden by gnav, sticky element, cookie banner etc. remains hidden.Tab
orShift + Tab
Tab
all elements in the footer can be focused and are not covered by the cookie banner ( This was done with the assumption that if the cookie banner is present it is always the last element in the body )I tried setting
scroll-padding-top
andscroll-padding-bottom
to the exact height of the elements that are hiding other content, but this requires JS and it will bring unnecessary complexity trying to cover all the use cases.Resolves: MWPW-169999 , MWPW-170165
Test URLs:
Homepage URLs:
CC URLs:
QE NOTE: Please close the MWPW-170165 with the reason
fixed by
MWPW-169999 if this also resolves the issue described in that ticket.