What is the issue and how can we reproduce it?
sap.m.Breadcrumbs renders the currentLocationText property as a focusable without a role attribute. Accessibility scanners (e.g. Axe, WAVE) flag this as a violation of WCAG 4.1.2 (Name, Role, Value) since any focusable element must have a defined role so screen readers can correctly announce it.
Steps to reproduce:
Add a sap.m.Breadcrumbs control with currentLocationText set
Open the page in a browser
Inspect the DOM — the current location renders as with no role
Run an accessibility scan (Axe or WAVE) — reports "Element has no role" or "Focusable element has no role"
Expected: The current location element includes an explicit role (e.g. role="link" consistent with the other breadcrumb items, or at minimum role="text" / role="none" if it is intentionally non-interactive)
Actual: is rendered without any role attribute
Suggested Fix:
Add role="link" to the current location span to be consistent with other breadcrumb items, or expose a way for developers to control this.
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.Breadcrumbs renders the currentLocationText property as a focusable without a role attribute. Accessibility scanners (e.g. Axe, WAVE) flag this as a violation of WCAG 4.1.2 (Name, Role, Value) since any focusable element must have a defined role so screen readers can correctly announce it.
Steps to reproduce:
Add a sap.m.Breadcrumbs control with currentLocationText set
Open the page in a browser
Inspect the DOM — the current location renders as with no role
Run an accessibility scan (Axe or WAVE) — reports "Element has no role" or "Focusable element has no role"
Expected: The current location element includes an explicit role (e.g. role="link" consistent with the other breadcrumb items, or at minimum role="text" / role="none" if it is intentionally non-interactive)
Actual: is rendered without any role attribute
Suggested Fix:
Add role="link" to the current location span to be consistent with other breadcrumb items, or expose a way for developers to control this.
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