question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sap.m.ScrollContainer & .Page: missing focus indicator for scroll content

See original GitHub issue

URL (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

  1. Open the above sample page
  2. 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?

Any other information? (attach screenshot if possible)

In Chrome, for example, we see a blue outline:

UA default focus outline displayed in UI5 sap.m.Page sap.m.ScrollContainer

A similar issue can be observed with sap.m.ScrollContainer.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
a-z-ivanovcommented, Jan 8, 2020

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.

0reactions
terezamchcommented, Jan 6, 2022

Hello @boghyon ,

Seems like the issue is fixed by the linked above change. Therefore I am closing the issue.

Best regards, Tereza

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found