[Home] Content underneath sheet is available
See original GitHub issueIssue summary
When the status Sheet is expanded, content underneath the Sheet is still available/focusable via swipe/touch navigation. Mobile screen readers announce this content as if it were a part of the visible Sheet content. This could lead to a confusing user experience.
Current code
TSX
// BottomSheet.tsx
return (
<SheetContentsContainer
isExpanded={isExpanded}
toggleExpanded={toggleExpanded}
>
<>
{collapsedContentWrapper}
{expandedContentWrapper}
</>
</SheetContentsContainer>
);
Steps to reproduce
- Load the app into the iOS simulator
- Expand the Sheet content
- Enable VoiceOver screen reader on macOS
- Use the Virtual Cursor to navigate through the Sheet control
Behavior
Expected
- Content underneath to not be available via touch/swipe.
Actual
- Content underneath is available.
Recommendation
A recommendation is not certain at this point. Some experimentation has been conducted on various content containers using the accessibilityViewIsModal
prop without success.
Basically, if the isExpanded
prop is true
, content other than the Sheet should not be available on touch/swipe.
Specifications
- Component: CovidShield [Home]
- WCAG Principle: Operable
- WCAG SC: 2.4.3 Focus Order
- Severity: Medium
- Effort: Unknown
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Hide or Unhide worksheets - Microsoft Support
Right-click a sheet tab, and then click Select All Sheets on the shortcut menu. On the Home tab, click Format > under Visibility...
Read more >What is a Flat Sheet and What is it Used for? | Peacock Alley
A flat sheet, also commonly referred to as a top sheet, was originally designed to be placed between you and the blankets and...
Read more >The Great Bedding Debate: Do You Really Need a Top Sheet?
Traditionally, a duvet is the preferred topper when only a fitted sheet is used, because the cover can be easily washed. You can...
Read more >content - CSS: Cascading Style Sheets - MDN Web Docs
The content CSS property replaces an element with a generated value. Objects inserted using the content property are anonymous replaced ...
Read more >COVID-19 Vaccine EUA Recipient/Caregiver Fact Sheets - CDC
The Fact Sheet is similar in purpose and content to vaccine information statements (VISs) ... There is no VIS for COVID-19 vaccines authorized...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We’re not yet 😃 just dropped this here to see if anyone else was. Ideally we can coordinate with our repo downstream. Avoiding two solutions to the same issue.
https://github.com/cds-snc/covid-shield-mobile/issues/391