SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.9k stars 1.23k forks source link

[SF][List]: Unnecessary tab focus going to noninteractive element (No data text) #4065

Closed yuyuCream closed 3 weeks ago

yuyuCream commented 3 weeks ago

OpenUI5 version: 1.120.5

Browser/version (+device/version): Chrome (Mac)

Any other tested browsers/devices(OK/FAIL): FAIL

URL (minimal example if possible): https://sapui5.hana.ondemand.com/#/entity/sap.m.List/sample/sap.m.sample.ListNoData

User/password (if required and possible - do not post any confidential information here):

Steps to reproduce the problem:

  1. Navigate to https://sapui5.hana.ondemand.com/#/entity/sap.m.List/sample/sap.m.sample.ListNoData
  2. No data text can be focused by tab.

What is the expected result? Tab focus should not be going to noninteractive element

Any other information? (attach screenshot if possible)

"It is recommended to use tabindex="0" for interactive elements only. The "No Data" text is static text and dispalyed only when there is not data in list. So, instead of using tabindex="0", please use role="Status" to inform about "No Data" message to SR. Please refer below link: https://www.w3.org/WAI/WCAG21/Understanding/status-messages.html"

flovogt commented 3 weeks ago

Hi @yuyuCream , thanks for opening this issue. Please do not share SAP internal information in public facing github. Please create an SAP internal ticket.

yuyuCream commented 3 weeks ago

Hi @flovogt Can you share the link of where we can create the sap internal ticket?

Thanks, Cream