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

Open
opened 2023-07-19 17:00:35 +02:00 by Moiety · 0 comments
Moiety commented 2023-07-19 17:00:35 +02:00 (Migrated from koodu.ubiqueros.com)

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
ro added this to the Road to Version One project 2024-05-07 22:36:21 +02:00
ro self-assigned this 2024-06-05 21:39:31 +02:00
ro modified the milestone from Fipamo Beta 2.6.2 to Beta 3.1.0 2024-11-12 21:03:26 +01:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
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: projects/fipamo#109
No description provided.