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

feat(inline-alert) - fix screen-reader causing extra scrollbar #855

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

gavin-everett-genesys
Copy link
Collaborator

@gavin-everett-genesys gavin-everett-genesys commented Jan 21, 2025

Ticket : https://inindca.atlassian.net/browse/COMUI-3416

Note :
So since the the gux-sr-only-clip class is positioned absolute it will look for the closest parent that has a position:relative set. In this case the span appears to position itself relative to another element at the bottom of the screen which produces the scrollbar. Could be the body element I am not sure ? To address this I think we should apply a position: relative within the gux-screen-reader so that it will prevent the scrollbar and keep it within the component.

I assume this will happen with other components also 🤔 I created this ticket so we can replace the div class="gux-sr-only" classes in components with the screenreader component https://inindca.atlassian.net/browse/COMUI-3425

Copy link

fix screen-reader stylings

✅ Closes: COMUI-3416
@gavin-everett-genesys gavin-everett-genesys merged commit c1e6a29 into main Jan 22, 2025
3 checks passed
@gavin-everett-genesys gavin-everett-genesys deleted the feature/COMUI-3416 branch January 22, 2025 16:27
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.

3 participants