Use RovingAccessibleButton
instead of RovingAccessibleTooltipButton
(#12539)
This commit is contained in:
parent
2d0319ec1b
commit
8f3c8b3515
10 changed files with 35 additions and 82 deletions
|
@ -18,7 +18,7 @@ import React, { createRef } from "react";
|
|||
import classNames from "classnames";
|
||||
|
||||
import { _t } from "../../../languageHandler";
|
||||
import { RovingAccessibleTooltipButton } from "../../../accessibility/RovingTabIndex";
|
||||
import { RovingAccessibleButton } from "../../../accessibility/RovingTabIndex";
|
||||
import Toolbar from "../../../accessibility/Toolbar";
|
||||
|
||||
export enum Formatting {
|
||||
|
@ -131,7 +131,7 @@ class FormatButton extends React.PureComponent<IFormatButtonProps> {
|
|||
// element="button" and type="button" are necessary for the buttons to work on WebKit,
|
||||
// otherwise the text is deselected before onClick can ever be called
|
||||
return (
|
||||
<RovingAccessibleTooltipButton
|
||||
<RovingAccessibleButton
|
||||
element="button"
|
||||
type="button"
|
||||
onClick={this.props.onClick}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue