mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
Accessibility: Enable rule jsx-a11y/no-noninteractive-element-interactions (#58077)
* fixes for no-noninteractive-element-interactions * remaining fixes * add type="button" * fix unit tests
This commit is contained in:
@@ -18,8 +18,8 @@ export function Breadcrumb({ pathName, onPathChange, rootIcon }: Props) {
|
||||
return (
|
||||
<ul className={styles.breadCrumb}>
|
||||
{rootIcon && (
|
||||
<li onClick={() => onPathChange('')}>
|
||||
<Icon name={rootIcon} />
|
||||
<li>
|
||||
<Icon name={rootIcon} onClick={() => onPathChange('')} />
|
||||
</li>
|
||||
)}
|
||||
{paths.map((path, index) => {
|
||||
|
||||
Reference in New Issue
Block a user