sap.m.ScrollContainer & .Page: missing focus indicator for scroll content
See original GitHub issueURL (minimal example if possible)
E.g.: https://openui5nightly.hana.ondemand.com/entity/sap.m.Page/sample/sap.m.sample.PageFloatingFooter
Steps to reproduce the problem
- Open the above sample page
- With the keyboard, <kbd>Tab</kbd> through elements until it reaches the page
What is the expected result?
Since the scroll content is an interactive element (scrollable with <kbd>arrows</kbd>, <kbd>Home</kbd>, <kbd>End</kbd>, etc.), the focus indicator should be visible there too, according to WCAG 2.1 Focus Visible SC 2.4.7 (Level AA):
Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible.
What happens instead?
- UI5 outline style is not applied to the scroll content. Instead, we see UA’s default focus indicator.
- When focused with a mouse, there is no focus indicator at all which is inconsistent with https://github.com/SAP/openui5/issues/1289#issuecomment-271235357.
Any other information? (attach screenshot if possible)
In Chrome, for example, we see a blue outline:
A similar issue can be observed with sap.m.ScrollContainer
.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
How to add the focus/scroll in semantic page content?
Hi All, I am working on custom sapui5 application development. In my application i have semantic page, it is FlexibleColumnLayout.
Read more >Problem while using m.scrollcontainer - SAP Community
Hi All, I am using scrollcontainer in one of my trainning programme. ... mentinoed in red color is where scroll container is working...
Read more >ScrollContainer Properties - SAP Help Portal
Specifies whether hot keys defined within the UI element can be triggered globally or locally (when the focus is in the UI element)....
Read more >sap.m.List is not scrolling on Master Page of SplitApp
Hi, on my Master page of the SplitApp I have a list of customer. The list is bigger then the screen height. My...
Read more >sap.m.ScrollContainer not displaying scrollbar vertically for ...
Hi, sap.m.ScrollContainer not displaying scrollbar vertically for sap.m.table rows or under panel where data is coming from OData Service.
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 Free
Top 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
There is some more info. I think we need to workaround this table, to make the experience the same in all browsers:
https://allyjs.io/data-tables/focusable.html
Our element is an overflowing
<section style="overflow: scroll">
It’s documented as ‘tabbable’ in FF.Hello @boghyon ,
Seems like the issue is fixed by the linked above change. Therefore I am closing the issue.
Best regards, Tereza