diff --git a/results/aria-allowed-role.json b/results/aria-allowed-role.json index a7a3ab7..0f59ccf 100644 --- a/results/aria-allowed-role.json +++ b/results/aria-allowed-role.json @@ -56,5 +56,6 @@ "a_role=\"application\"": "The issue with the code snippet is that the `role` attribute is set to \"application\" which is not appropriate for a link element. The correct role for a link element is \"link\" or \"button\" depending on the context. \n\nThe corrected code snippet would be: <`a` `href`=\"...\" `role`=\"link\">", "fieldset_role=\"search\"": "The issue with the code snippet is that the value of the `role` attribute is inappropriate for the `fieldset` element. The correct value for the `role` attribute for a `fieldset` element is \"group\" or \"presentation\". \n\nCorrected code snippet: <`fieldset` `role`=\"group\">", "input_role=\"tab\"": "The issue with this code snippet is that the `role` attribute is set to \"tab\", which is inappropriate for an `input` element of `type` \"radio\". The correct value for the `role` attribute in this case should be \"radio\". The corrected code snippet is:\n\n<`input` `name`=\"...\" `role`=\"radio\" `type`=\"radio\">", - "button_role=\"menu\"": "The issue with the code snippet is that the `role` attribute is set to \"menu\" while the element is a button. The `role` attribute should reflect the purpose or function of the element, and in this case, it should be set to \"button\". The correct version of the code snippet is:\n\n