What is the issue and how can we reproduce it?
sap.m.Dialog renders its title property internally as a element without an aria-level attribute. This is flagged by accessibility scanners (e.g. Axe, WAVE) as a violation of WCAG 1.3.1 (Info and Relationships) since headings must have a defined level to convey structure to screen reader users.
Steps to reproduce:
Create a sap.m.Dialog with a title property set
Open the dialog in the browser
Inspect the DOM — the title renders as with no aria-level
Run an accessibility scan (Axe or WAVE) — it reports "No heading level defined"
Expected: The dialog title includes aria-level="2" (or a titleLevel property is exposed so developers can control it, similar to sap.m.Panel and sap.m.Page)
Actual: is rendered without aria-level
Which OpenUI5 version is your project targeting?
Latest (no pinned version, loaded from ui5.sap.com CDN)
Is the issue device- or browser-specific?
Not device- or browser-specific, reproducible across all browsers and devices.
Confirmation
What is the issue and how can we reproduce it?
sap.m.Dialog renders its title property internally as a element without an aria-level attribute. This is flagged by accessibility scanners (e.g. Axe, WAVE) as a violation of WCAG 1.3.1 (Info and Relationships) since headings must have a defined level to convey structure to screen reader users.
Steps to reproduce:
Create a sap.m.Dialog with a title property set
Open the dialog in the browser
Inspect the DOM — the title renders as with no aria-level
Run an accessibility scan (Axe or WAVE) — it reports "No heading level defined"
Expected: The dialog title includes aria-level="2" (or a titleLevel property is exposed so developers can control it, similar to sap.m.Panel and sap.m.Page)
Actual: is rendered without aria-level
Which OpenUI5 version is your project targeting?
Latest (no pinned version, loaded from ui5.sap.com CDN)
Is the issue device- or browser-specific?
Not device- or browser-specific, reproducible across all browsers and devices.
Confirmation