BottomSheet height doesn't adjust to display low contrast error after tapping back button #40727
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Mobile App - i.e. Android or iOS
Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)
[Type] Bug
An existing feature does not function as intended
Description
When adding text/background colours with low contrast to a block and then tapping the back button, it’s sometimes necessary to scroll to see the low contrast error message. This reduces the visibility of the error message, as it's not obvious you need to scroll.
This issue is only apparent when tapping the back button immediately after selecting the colours. The message is visible immediately when clicking out and back into the settings.
Note, this is also not an issue on sites where a block-based theme is enabled. The reason for is that font-size options are displayed below the colour settings for block-based themes, which prevents the need to scroll to see the low contrast error.
Step-by-step reproduction instructions
Pre-requisite: The test site's theme should not be block-based.
Expected behaviour
I expect to see a low contrast error message after pressing the back button.
Actual behaviour
The error message is only available by scrolling. However, if I tap out of the settings and back in again, the message is immediately visible.
Possibly relevant issues: #28632, #37559
Screenshots or screen recording
Device information
The text was updated successfully, but these errors were encountered: