Skip to content

Conversation

@Antoliny0919
Copy link
Member

@Antoliny0919 Antoliny0919 commented Oct 23, 2025

Trac ticket number

ticket-36192

Branch description

Continue PR..

Thank you for the work you did on this @Phinart98 🚀

I removed the role="button" attributes from the <a> elements and converted the appropriate <a> tags to <button> tags where a button element was more suitable.

Checklist

  • This PR targets the main branch.
  • The commit message is written in past tense, mentions the ticket number, and ends with a period.
  • I have checked the "Has patch" ticket flag in the Trac system.
  • I have added or updated relevant tests.
  • I have added or updated relevant docs, including release notes if applicable.
  • I have attached screenshots in both light and dark modes for any UI changes.

@Antoliny0919
Copy link
Member Author

Hello @Phinart98,

I’d like to add you as a co-author, but I don’t know your email address.
Could you please let me know your email?

@Antoliny0919
Copy link
Member Author

Changed ...

I tried to preserve the existing style as much as possible.

  • inline form add button

Screenshot 2025-10-23 at 6 13 21 PM
  • datetime picker

Screenshot 2025-10-23 at 6 14 15 PM Screenshot 2025-10-23 at 6 14 52 PM Screenshot 2025-10-23 at 6 15 06 PM
  • action select all / clear

Screenshot 2025-10-23 at 6 16 28 PM Screenshot 2025-10-23 at 6 16 38 PM
  • close button

Screenshot 2025-10-23 at 6 17 25 PM Screenshot 2025-10-23 at 6 17 45 PM

@Antoliny0919 Antoliny0919 force-pushed the use_semantic_admin_button branch from 1aa9803 to 2bb4d14 Compare October 23, 2025 09:19
@Phinart98
Copy link

Hello @Phinart98,

I’d like to add you as a co-author, but I don’t know your email address. Could you please let me know your email?

Hello @Antoliny0919 , oh great! My email is phinart98@gmail.com .
You are doing such great work!😊

Co-authored-by: Phinart98 <phinart98@gmail.com>
@Antoliny0919 Antoliny0919 force-pushed the use_semantic_admin_button branch from 2bb4d14 to 3b5d6db Compare October 24, 2025 08:09
Copy link

@ilovelinux ilovelinux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The role="button" attribute should be kept in those <a> elements that still act as a button but can't be replaced with a <button> element since it's used for accessibility1.

Footnotes

  1. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

screenshots 🖼️ selenium Apply to have Selenium tests run on a PR

Projects

Status: To Review

Development

Successfully merging this pull request may close these issues.

3 participants