Fixed accessibility issue

This commit is contained in:
Alejandro Celaya 2018-08-19 20:56:55 +02:00
parent 96adb227d9
commit 84d012d7af

View file

@ -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)} />}
{!disabled && <a className={classNameRemove} onClick={() => onRemove(key)}> </a>}
</span>
)
};