A11y: Enable jsx-a11y/interactive-supports-focus (#57391)
* first batch of fixes for interactive-supports-focus * remove role and aria attributes since this won't be focusable to a screenreader anyway
This commit is contained in:
@@ -146,9 +146,7 @@ export class UnthemedSpanDetailRow extends React.PureComponent<SpanDetailRowProp
|
||||
<span>
|
||||
<span
|
||||
className={styles.expandedAccent}
|
||||
aria-checked="true"
|
||||
onClick={this._detailToggle}
|
||||
role="switch"
|
||||
style={{ borderColor: color }}
|
||||
data-testid="detail-row-expanded-accent"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user