fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Panel content is not clearly visible in 400% zoom mode

Open SyedRehmanRazvi opened this issue 7 years ago • 13 comments

User Experience: Users with low vision are getting affected as the elements in the panel are not clearly visible in 400% mode. Users will face difficulty in identifying the elements in the panel if they are not visible.

Repro Steps: Step 1: Zoom the page to 400% zoom. Step 2: Open Fabric UI URL in Edge browser. Step 3: Navigate to Panel page and open any panel Step 4: Verify whether all the panel and elements available in the panel are clearly visible in 400% zoom.

Actual: Panel and all the elements are not Clearly visible in 400% zoom

Expected: Panel and all the elements should be Clearly visible in 400% zoom

image

SyedRehmanRazvi avatar Oct 18 '19 12:10 SyedRehmanRazvi

Hi @SyedRehmanRazvi, thanks for submitting this issue!

You mentioned the narrator's user experience on zoom. What is your expectation for that? It would be helpful as I am attempting to repro.

I was also unable to repro the zooming issue. Do you mind sharing the details of the environment you are experiencing this in?

Thanks!

marygans avatar Oct 18 '19 20:10 marygans

Hi @marygans We have validated the issue in the below URL: https://fabricweb.z5.web.core.windows.net/oufr/7.53.0/#/examples/panel Below is the test environment and display settings details: Windows OS Version: Version 1903 (OS Build 19002.1002) Browser: Edge Edge Browser Version: Microsoft Edge 44.19002.1.0 Display resolution : 1366768 We have also verified in the below resolution: Display resolution : 1280768. Please find the below snapshot: image

SyedRehmanRazvi avatar Oct 21 '19 07:10 SyedRehmanRazvi

This issue is actually about Panel, not Dialog (I've updated the title and description to reflect that). @marygans You may need to use a smaller window size to repro this--more like small/medium laptop screen size.

ecraig12345 avatar Oct 24 '19 00:10 ecraig12345

changed priority as this is a wcag 2.1 requirement

https://www.w3.org/WAI/WCAG21/Understanding/reflow.html

micahgodbolt avatar Nov 21 '19 18:11 micahgodbolt

@betrue-final-final are you looking into the reflow requirements at all? Is there a design change that needs to happen for panel at smaller breakpoints?

micahgodbolt avatar Nov 21 '19 18:11 micahgodbolt

The buttons should not be clipped, but otherwise the panel should be ok as long as it provides for a vertical only scroll. We do not have any control over content, so we can't predict when it would need a horizontal scroll, though our controls could constrain width to the window possibly. That is beyond Panel.

betrue-final-final avatar Jan 31 '20 17:01 betrue-final-final

we no longer have a panel example on our doc page that has this issue. however, this is still related to #7625 and how user cannot scroll header/footer. closing this one as a duplicate

xugao avatar Jan 31 '20 19:01 xugao

Reopening since we will need to address 400% zoom issues at some point.

This currently repros on the "Panel - Footer" example on a smaller monitor (we can't assume everyone has giant monitors). https://fabricweb.z5.web.core.windows.net/oufr/7.115.2/#/examples/panel

Until we're able to address this, @mltejera suggested the following workaround in https://github.com/microsoft/fluentui/issues/7625#issuecomment-599738077:

For WCAG 2.1 support, our panel component has had to hack this panel a little bit. At small screen sizes we remove content from the headers and footers and instead stuff those inside the body render function so they're included in the scrolling. We leave the nav section pinned to the top.

ecraig12345 avatar May 22 '20 18:05 ecraig12345

Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes.

Still require assistance? Please, create a new issue with up-to date details.

msft-fluent-ui-bot avatar Apr 26 '21 12:04 msft-fluent-ui-bot

This issue definitely needs to be kept open to support WCAG 2.1 at some point.

mltejera avatar Apr 26 '21 17:04 mltejera

Update on this topic.

In our DPv2 implementation noted above, that wraps this panel, we put the header and footer into the main body are at short window heights. This pattern broke down when there were long lists in the body area, forcing the user to tediously scroll.

We now have a boolean flag to opt out, keeping the sticky footer behavior, but shrinking the vertical padding from 16->8px to get back a little room for the content.

mltejera avatar Jul 08 '21 20:07 mltejera

Fixed by #19547

TristanWatanabe avatar Jan 28 '22 16:01 TristanWatanabe