Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue fixes for RSS feed improvements #28380

Merged
merged 3 commits into from
Dec 7, 2023
Merged

Conversation

n0toose
Copy link
Contributor

@n0toose n0toose commented Dec 7, 2023

Follow-up for #28368

  • Just replace button with an a-element with the button class
  • Remove useless link-action class from template/org/home.tmpl

Follow-up for go-gitea#28368

- Just replace button with an a-element with the button class
- Use role=button for screen readers
- Remove useless link-action class from template/org/home.tmpl
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Dec 7, 2023
@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 7, 2023
@github-actions github-actions bot added the modifies/templates This PR modifies the template files label Dec 7, 2023
Copy link
Contributor

@wxiaoguang wxiaoguang left a comment

Choose a reason for hiding this comment

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

Just a nit, I would argue whether role="button" really makes sense, because it is really a "link": it has href, it navigates ....

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Dec 7, 2023
templates/org/home.tmpl Outdated Show resolved Hide resolved
@n0toose
Copy link
Contributor Author

n0toose commented Dec 7, 2023

Just a nit, I would argue whether role="button" really makes sense, because it is really a "link": it has href

You're right, I thought that I would add that because it visually looks like a button, but this is essentially the same link as before in a trenchcoat of a button.

Continuing to explicitly separate "actions" from links for users that depend on screen readers makes sense.

Copy link
Member

@jolheiser jolheiser left a comment

Choose a reason for hiding this comment

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

Thanks for the follow-up!

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Dec 7, 2023
@lunny lunny enabled auto-merge (squash) December 7, 2023 02:37
@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Dec 7, 2023
@lunny lunny merged commit dac7728 into go-gitea:main Dec 7, 2023
25 checks passed
@GiteaBot GiteaBot added this to the 1.22.0 milestone Dec 7, 2023
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Dec 7, 2023
zjjhot added a commit to zjjhot/gitea that referenced this pull request Dec 8, 2023
* giteaofficial/main:
  Improve text in Security settings (go-gitea#28393)
  Fix Docker meta action for releases (go-gitea#28232)
  Make gogit Repository.GetBranchNames consistent (go-gitea#28348)
  Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (go-gitea#28220)
  Include public repos in doer's dashboard for issue search (go-gitea#28304)
  Issue fixes for RSS feed improvements (go-gitea#28380)
  Fix margin in server signed signature verification view (go-gitea#28379)
  [skip ci] Updated translations via Crowdin
  Fix incorrect run order of action jobs (go-gitea#28367)
  Improve RSS feed icons (go-gitea#28368)
  Use `filepath` instead of `path` to create SQLite3 database file (go-gitea#28374)
  Fix incorrect default value of `[attachment].MAX_SIZE` (go-gitea#28373)
  Fix object does not exist error when checking citation file (go-gitea#28314)
fuxiaohei pushed a commit to fuxiaohei/gitea that referenced this pull request Jan 17, 2024
Follow-up for go-gitea#28368

- Just replace button with an a-element with the button class
- Remove useless link-action class from template/org/home.tmpl
silverwind pushed a commit to silverwind/gitea that referenced this pull request Feb 20, 2024
Follow-up for go-gitea#28368

- Just replace button with an a-element with the button class
- Remove useless link-action class from template/org/home.tmpl
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Mar 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/templates This PR modifies the template files size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants