-
Notifications
You must be signed in to change notification settings - Fork 5
Conversation
✔️ Deploy Preview for basestore ready! 🔨 Explore the source changes: 5aaef94 🔍 Inspect the deploy log: https://app.netlify.com/sites/basestore/deploys/61f86c8a20dacf00086a413a 😎 Browse the preview: https://deploy-preview-293--basestore.netlify.app |
Preview is readyThis pull request generated a Preview👀 Preview: https://preview-293--base.preview.vtex.app |
Gatsby Cloud Build Reportbasestore 🎉 Your build was successful! See the Deploy preview here. Build Details🕐 Build time: 3m PerformanceLighthouse report
|
Gatsby Cloud Build Reportbasestore 🎉 Your build was successful! See the Deploy preview here. Build Details🕐 Build time: 3m PerformanceLighthouse report
|
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!
Unfortunately, I have no clue how we can decrease the TTI. :(
} | ||
|
||
function SROnly({ text }: Props) { | ||
return <span data-store-sr-only>{text}</span> | ||
function SROnly({ text, as }: Props) { |
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.
In the future we can rename it to a more generic meaning to cover this case (when we need to hide information but not necessary related to screen reader only) 👍
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.
Nice job! 🤩
* Removes unused title * Extracts css from product-gallery section * Tweaks SROnly component * Adds SROnly h1 title to search page * Fixes typo
* Removes unused title * Extracts css from product-gallery section * Tweaks SROnly component * Adds SROnly h1 title to search page * Fixes typo
What's the purpose of this pull request?
Makes the Search page looks like the PLP so far.
Question: The search page is without any
<h1>
tag, should we add it someplace?We decided to keep the
<h1>
, but use theSROnly
(Screen Reader Only) component.How to test it?
https://preview-293--base.preview.vtex.app/s/?q=shirt&sort=score_desc&page=0