sap.m.PlanningCalendar appointments tooltip accessibility problem.
OpenUI5 version: 1.99.0
Browser/version (+device/version): Chrome/ Any
Hello, I'm trying to cover an accessibility standard criterion (https://www.w3.org/WAI/WCAG21/Understanding/content-on-hover-or-focus.html) in my app and I have an issue with the tooltip property of the Planning Calendar component. For covering the criterion the tooltip have to be shown not only on hover with the mouse but with keyboard select on the appointment, too. Also, it is not possible to work with the text in the tooltip (for example copy it).
Current behaviour:
- Hover on appointment in the planning calendar (screenshot 1).
- Try to copy the text in the tooltip.
- The tooltip disappears and you can't copy the text.
Expected behaviour: The tooltip is shown not only on mouse hover but with keyboard focus also. Additional information (the tooltip text) can be, for example, copied.
Screenshot 1: https://drive.google.com/file/d/1OHOLwJblY9_6RJtmbl3FaokH2R62jxkh/view?usp=sharing
The mentioned tooltip in the sap.m.PlanningCalendar appointments is a browser-native tooltip added via the "title" attribute. They are explicitly excluded from these success criterions, see the Additional Notes: "This criterion does not attempt to solve such issues when the appearance of the additional content is completely controlled by the user agent. A prominent example is the common behavior of browsers to display the title attribute in HTML as a small tooltip."
I don't know why they were excluded, but I assume because web application authors have no control about the behavior of native tooltips. It is up to browser vendors to implement the tooltip according to WCAG 2.1.