diff --git a/packages/main/cypress/specs/Input.cy.tsx b/packages/main/cypress/specs/Input.cy.tsx index 247421e2a0d5..5c52f0fa3bb6 100644 --- a/packages/main/cypress/specs/Input.cy.tsx +++ b/packages/main/cypress/specs/Input.cy.tsx @@ -1903,6 +1903,11 @@ describe("Input general interaction", () => { cy.get("@popover") .should("have.attr", "open"); + cy.get("@popover") + .shadow() + .find(".ui5-popup-root") + .should("not.have.attr", "role", "dialog"); + // type a cy.get("@innerInput") .realType("a"); diff --git a/packages/main/src/InputPopoverTemplate.tsx b/packages/main/src/InputPopoverTemplate.tsx index dc1a797e240c..a10f4ad12b1f 100644 --- a/packages/main/src/InputPopoverTemplate.tsx +++ b/packages/main/src/InputPopoverTemplate.tsx @@ -28,6 +28,7 @@ export default function InputPopoverTemplate(this: Input, hooks?: { suggestionsL preventInitialFocus={true} preventFocusRestore={true} hideArrow={true} + accessibleRole="None" class="ui5-valuestatemessage-popover" placement="Bottom" tabindex={-1}