Skip to content

Changed <a> to <button> for SEO improvements#1012

Merged
sonvnn merged 1 commit intotemplaza:masterfrom
vtheod:vtheod
Feb 18, 2025
Merged

Changed <a> to <button> for SEO improvements#1012
sonvnn merged 1 commit intotemplaza:masterfrom
vtheod:vtheod

Conversation

@vtheod
Copy link
Copy Markdown
Contributor

@vtheod vtheod commented Feb 13, 2025

For the scroll to top, I replaced the <a> tag with <button> because search engines may use href attributes in links for website crawling. Since this element is intended for an action rather than navigation, using a <button> improves semantic correctness and prevents unintended indexing by search engines.

I replaced the <a> tag with a <button> because search engines may use href attributes in links for website crawling. Since this element is intended for an action rather than navigation, using a <button> improves semantic correctness and prevents unintended indexing by search engines.
@vtheod vtheod requested a review from sonvnn February 14, 2025 13:55
Copy link
Copy Markdown
Member

@sonvnn sonvnn left a comment

Choose a reason for hiding this comment

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

Tested and working as expected.

@sonvnn sonvnn merged commit 9654be3 into templaza:master Feb 18, 2025
@vtheod vtheod deleted the vtheod branch February 18, 2025 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants