-
Notifications
You must be signed in to change notification settings - Fork 220
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
AccessibilityRenderExtension
doesn't work correctly with RenderingMode.SHRINK
#1350
Comments
Is it considered blocker for the release 1.3.4 @adamalyyan ? |
I don't think this would be considered a blocker but I'll defer to @geoff-powell as his PR will resolve this! |
Ya I think this might not make 1.3.4. Need to figure out a better way to render accessibility information in a layout so we can correctly measure the details view. |
I've been investigating the possible resolutions to this issue and I wonder if the best path forward might be to simply disallow accessibility snapshots from being taken in the It seems to me there are two possible technical paths to resolve this issue, both with drawbacks:
Because of this, I think the option to disable the |
The best use-case for |
Description
Using the
AccessibilityRenderExtension
is useful for analyzing accessibility information, but the information added to the side of the screenshot is cropped out when theSHRINK
rendering mode is used.Steps to Reproduce
Here is an example test:
Expected behavior
I would expect for the accessibility information on the side of the screenshot to be included in the cropped screenshot, that is to say that the crop would take into account the size of the accessibility information, even if it was taller than the actual content.
Additional information:
Screenshots
Screenshot using
SHRINK
:Screenshot using
NORMAL
:I've given fixing this a look and it seems like one of the challenges here is that the accessibility information is a canvas element which can't easily use things like
WRAP_CONTENT
.The text was updated successfully, but these errors were encountered: