Skip to content

Commit b1e45a1

Browse files
authored
Remove "Rails implementation only" copy
Tooltip accessibility features are available in both Rails and React implementations.
1 parent e845189 commit b1e45a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/components/icon-button.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The selectable variant/scheme colors meet minimum color contrast requirements.
5656

5757
The size variants all meet the minimum target size requirement.
5858

59-
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.
59+
`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.
6060

6161
### Implementation requirements
6262

@@ -88,7 +88,7 @@ Make sure to differentiate icon buttons through the use of sufficiently differen
8888
- Unless the button is `disabled`, it can be focused and activated using the keyboard
8989
- 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
9090
- The button has a minimum target size of 24×24 CSS pixels, regardless of content
91-
- 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
91+
- 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
9292

9393
### Known accessibility issues (GitHub staff only)
9494

0 commit comments

Comments
 (0)