-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
fix: improved site accessibility #6181
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: aakankshabhende <[email protected]>
🚀 Preview for commit 74e782a at: https://677e83d0b4b0135dfe7e4f54--layer5.netlify.app |
@aakankshabhende adding it as an agenda item to the meeting minutes. |
@vishalvivekm Could you please review this? |
@@ -34,6 +34,7 @@ const SocialLinksColor = () => { | |||
target="_blank" | |||
rel="noreferrer" | |||
className="footer_twitter" | |||
aria-label="Visit Layer5 on Twitter" |
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.
Good. 👍
@@ -95,7 +95,7 @@ const Features = (props) => { | |||
: (<div className="small-card-container"> | |||
{props.redirectLinkWithImage.map((item) => ( | |||
<Link key={item.text} className="small-card" to={item.redirect}> | |||
<img src={item.image} width={40} /> | |||
<img src={item.image} width={40} alt={`${item.text} icon`}/> |
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.
make sense. 👍
@@ -288,7 +288,8 @@ const IntegrationsGrid = ({ category, count }) => { | |||
? darkModeIntegrationIcon.publicURL | |||
: integrationIcon | |||
} | |||
alt={item.frontmatter.title} | |||
alt={`${item.frontmatter.title} image`} | |||
aria-label={`${item.frontmatter.title} image`} |
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.
Excellent. 👍
{menu.subItems !== undefined && ( | ||
<ul> | ||
{menu.subItems.map((subItem, subIndex) => ( | ||
<li key={subIndex} className="mobile-nav-subitem"> |
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.
We no longer need the return()
function here?
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.
No it is not needed here because it will implicitly return the values.Am I right @aakankshabhende?
I love seeing this. Thank you, @aakankshabhende! 👏 |
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.
LGTM!Approved.
Description
The site accessibility score has been improved from 74 to 91. The changes which can further improve the score aren't possible because that involves colour change that doesn't match our brand and other significant UI changes such as increasing font size.
This PR fixes #6148
Notes for Reviewers
Signed commits