From b1e45a127645397153fd300c77a3209577319d36 Mon Sep 17 00:00:00 2001 From: Kate Travers <8152930+ktravers@users.noreply.github.com> Date: Mon, 10 Feb 2025 21:41:29 -0500 Subject: [PATCH] Remove "Rails implementation only" copy Tooltip accessibility features are available in both Rails and React implementations. --- content/components/icon-button.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/components/icon-button.mdx b/content/components/icon-button.mdx index 8d0d6befe..55756487c 100644 --- a/content/components/icon-button.mdx +++ b/content/components/icon-button.mdx @@ -56,7 +56,7 @@ The selectable variant/scheme colors meet minimum color contrast requirements. The size variants all meet the minimum target size requirement. -In the Rails implementation, `IconButton` automatically has a visible tooltip that appears when the button is hovered and when it receives keyboard focus. The tooltip visually replicates the accessible name of the button. The tooltip can be hovered when using the mouse, and can be dismissed using `Esc` without needing to move the mouse or focus away from the button. +`IconButton` automatically has a visible tooltip that appears when the button is hovered and when it receives keyboard focus. The tooltip visually replicates the accessible name of the button. The tooltip can be hovered when using the mouse, and can be dismissed using `Esc` without needing to move the mouse or focus away from the button. ### Implementation requirements @@ -88,7 +88,7 @@ Make sure to differentiate icon buttons through the use of sufficiently differen - Unless the button is `disabled`, it can be focused and activated using the keyboard - If the button is set to be `inactive`, it still receives keyboard focus, but it conveys its inactive/disabled state to screen readers with the `aria-disabled="true"` attribute - The button has a minimum target size of 24×24 CSS pixels, regardless of content -- For the Rails implementation, the tooltip for the button can be hovered with the mouse, and the tooltip can be dismissed using `Esc` without needing to move the mouse or focus away from the button +- The tooltip for the button can be hovered with the mouse, and the tooltip can be dismissed using `Esc` without needing to move the mouse or focus away from the button ### Known accessibility issues (GitHub staff only)