Skip to content
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

Render accessibility checker dialog on left or right edge depending on the userbar position #11819

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anees-asghar
Copy link

Fixes #11540

Description

This bugfix solves the issue of the accessibility checker dialog always being rendered on the right edge of the screen regardless of the position of the user bar.

Details

As part of this fix, the AccessiblityItem class now maintains a class property dialog_position. The position is set to "right" by default and is overwritten if AccessiblityItem is initialized with the optional new value for dialog position. More here.

Screenshots

Before After
image image
image image

Copy link

squash-labs bot commented Apr 3, 2024

Manage this branch in Squash

Test this branch here: https://anees-asgharbugfix11540-userba-1syr4.squash.io

@anees-asghar anees-asghar marked this pull request as ready for review April 3, 2024 19:04
@anees-asghar
Copy link
Author

Hi @laymonage, if you could spare a moment to take a look at this PR, I'd greatly appreciate your feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wagtailuserbar. Warning window position
1 participant