You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The revisions link introduced in #910 works great when there are revisions: it's a link and points to the Revisions screen.
However, when there are no revisions:
it's a button, it's focusable and actionable, but it doesn't do anything. Not completely sure abot what to do here. The ARIA Authoring Practices allow disabled controls (or, in this case, a control that doesn't do anything) to still be focusable when this helps discoverability. See https://www.w3.org/TR/wai-aria-practices/#kbd_disabled_controls
On the other hand, the fact it's reported as "button" when there are no revisions, and then reported as "link" when there are revisions, could be potentially confusing.
The text was updated successfully, but these errors were encountered:
The revisions link introduced in #910 works great when there are revisions: it's a link and points to the Revisions screen.
However, when there are no revisions:
it's a button, it's focusable and actionable, but it doesn't do anything. Not completely sure abot what to do here. The ARIA Authoring Practices allow disabled controls (or, in this case, a control that doesn't do anything) to still be focusable when this helps discoverability. See https://www.w3.org/TR/wai-aria-practices/#kbd_disabled_controls
On the other hand, the fact it's reported as "button" when there are no revisions, and then reported as "link" when there are revisions, could be potentially confusing.
The text was updated successfully, but these errors were encountered: