Closed JarrettChan closed 1 year ago
Hello @SAP/ui5-webcomponents-topic-p,
Could you please check the proposed enhancement and analyse whether it is appropriate?
Thank you in advance!
Kind Regards, Niya
Hello,
This is an enhancement request, but in the end there will be no difference for the mapping on the accessibility tree, as <header>
equals to <dir role="banner">
.
Therefore, there is no need to treat this with urgency, as it will not cause accessibility issue.
Best Regards, Nikolay
Internal reference: 5778
Bug Description
Using
<div role="banner">
instead of<header>
semantic element.<header>
is supported by modern browsers. https://www.w3.org/TR/using-aria/#rule1Expected Behavior
Use
<header>
instead of<div role="banner">
Steps to Reproduce
<div role="banner">
Context
Priority
Stakeholder Info (if applicable)