mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 01:20:24 +03:00
Replaced anchor by span to prevent accessibility error
This commit is contained in:
parent
84d012d7af
commit
d84bf01937
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@
|
|||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.react-tagsinput-tag a::before {
|
||||
.react-tagsinput-tag span::before {
|
||||
content: "\2715";
|
||||
color: #fff;
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ export default function TagsSelector({ tags, onChange, placeholder, colorGenerat
|
|||
return (
|
||||
<span key={key} style={{ backgroundColor: colorGenerator.getColorForKey(tag) }} {...other}>
|
||||
{getTagDisplayValue(tag)}
|
||||
{!disabled && <a className={classNameRemove} onClick={() => onRemove(key)}> </a>}
|
||||
{!disabled && <span className={classNameRemove} onClick={() => onRemove(key)} />}
|
||||
</span>
|
||||
)
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue