-
Notifications
You must be signed in to change notification settings - Fork 6
Enhance SEO and accessibility #273
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
base: main
Are you sure you want to change the base?
Enhance SEO and accessibility #273
Conversation
… and sitemap.xml; improve image alt attributes in Footer and Header components
… utility function for conditional class names
5c6a892 to
3fd14d1
Compare
|
@ianconsolata tagging for visibility :) |
|
shouldn't this be "Disallow: /" for vote.storswift.io (as the dev site) and only "Allow: /" on vote.fil.org ? Also shouldn't the sitemap change similarly? |
Ah thank you, didn't realised there were 2 different deployments. Looking at the code, I believe that So we should have something like this? |
vote.fil.org should be production. @ianconsolata, unless I'm insane?
|
|
@ianconsolata following up on this one :) |
|
Yes, vote.fil.org is production. |
| Allow: / | ||
|
|
||
| # Sitemap location | ||
| Sitemap: https://vote.storswift.io/sitemap.xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vote.fil.org
Changes
• Meta description
• robots.txt file
• sitemap.xml file
Purpose
These changes aim to improve the website's search engine visibility and make it more accessible to users relying on screen readers or other assistive technologies.
Testing
Verify:
• The sitemap.xml is properly generated and accessible
• robots.txt is correctly configured
• Image alt texts are meaningful and descriptive in Footer and Header components
• Meta descriptions appear correctly in page source
Note
I added a slight refactor in the Header component so that the elements are grouped together and aligned with the main content.