From 09d1cb4a5928942e98892d685621ef3eceb12854 Mon Sep 17 00:00:00 2001 From: Serhii Kulykov Date: Wed, 10 Jul 2024 09:48:18 +0300 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sascha Ißbrücker --- .../java/com/vaadin/flow/component/popover/Popover.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vaadin-popover-flow-parent/vaadin-popover-flow/src/main/java/com/vaadin/flow/component/popover/Popover.java b/vaadin-popover-flow-parent/vaadin-popover-flow/src/main/java/com/vaadin/flow/component/popover/Popover.java index 82d30bd294e..1ce568a78df 100644 --- a/vaadin-popover-flow-parent/vaadin-popover-flow/src/main/java/com/vaadin/flow/component/popover/Popover.java +++ b/vaadin-popover-flow-parent/vaadin-popover-flow/src/main/java/com/vaadin/flow/component/popover/Popover.java @@ -88,7 +88,7 @@ public Optional getAriaLabelledBy() { } /** - * Sets the "role" attribute for using by screen readers. + * Sets the ARIA role for the overlay element, used by screen readers. * * @param role * the role to set @@ -100,8 +100,8 @@ public void setOverlayRole(String role) { } /** - * Gets the "role" attribute for using by screen readers. Defaults to - * "dialog". + * Gets the ARIA role for the overlay element, used by screen readers. + * Defaults to {@code dialog}. * * @return the role */