diff --git a/public/app/plugins/panel/xychart/ManualEditor.tsx b/public/app/plugins/panel/xychart/ManualEditor.tsx index a63ee4470fc..d4ec2b67fe4 100644 --- a/public/app/plugins/panel/xychart/ManualEditor.tsx +++ b/public/app/plugins/panel/xychart/ManualEditor.tsx @@ -66,9 +66,19 @@ export const ManualEditor = ({
{value.map((series, index) => { return ( - // TODO: fix keyboard a11y - // eslint-disable-next-line jsx-a11y/no-static-element-interactions -
setSelected(index)}> +
setSelected(index)} + role="button" + aria-label={`Select series ${index + 1}`} + tabIndex={0} + onKeyPress={(e) => { + if (e.key === 'Enter') { + setSelected(index); + } + }} + > onFieldChange(v, index, 'name')}