<button>s under “Options” don’t have their status communicated programatically #109

Open
opened 1 year ago by Moiety · 0 comments
Moiety commented 1 year ago
Collaborator

Where: Add/Edit page

What: The <button>s under “Options” don’t have their status communicated programatically

Recommendation: Apply the APG toggle button pattern to things like the “Publish”; its use of aria-pressed will make sure assistive technologies known the status of the buttons.

options toolbar with four toggle buttons


Note: the “B”, “I”, and “S” buttons in the “Editor toolbar” would usually also classify as toggle buttons. But it looks like these only activate formatting behaviour rather than also deactivating it.

article reads “test”, no formatting

  1. before “bold” activation

article reads “test” which is bolded in markdown
2. after “bold” activation and selecting the text again

article reads “test” with twice markdown bolding
3. after activating “bold” once more, the markdown is added twice rather than deactivated

Where: Add/Edit page What: The `<button>`s under “Options” don’t have their status communicated programatically Recommendation: Apply the [APG toggle button pattern](https://www.w3.org/WAI/ARIA/apg/patterns/button/) to things like the “Publish”; its use of `aria-pressed` will make sure assistive technologies known the status of the buttons. ![options toolbar with four toggle buttons](/attachments/997bd28f-fc7c-4388-a885-b38d2ebd0418) --- Note: the “B”, “I”, and “S” buttons in the “Editor toolbar” would usually also classify as toggle buttons. But it looks like these only activate formatting behaviour rather than also deactivating it. ![article reads “test”, no formatting](/attachments/330132c1-2697-4ba1-a648-f6f465d05cf1) 1. before “bold” activation ![article reads “test” which is bolded in markdown](/attachments/41060beb-4f28-401c-bdb4-946c05159c17) 2. after “bold” activation and selecting the text again ![article reads “test” with twice markdown bolding](/attachments/26738562-8019-4eee-8772-0628409115e9) 3. after activating “bold” once more, the markdown is added twice rather than deactivated
Moiety added the
Accessibility
label 1 year ago
Moiety self-assigned this 1 year ago
Moiety referenced this issue from a commit 1 year ago
are0h added this to the Fipamo Beta 2.6.2 milestone 1 year ago
are0h added this to the Fipamo Beta project 1 year ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: are0h/Fipamo#109
Loading…
There is no content yet.