improvement(landing): lighthouse performance and accessibility fixes#3837
improvement(landing): lighthouse performance and accessibility fixes#3837waleedlatif1 merged 4 commits intostagingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryLow Risk Overview Accessibility and readability tweaks include adding ARIA/keyboard support to Access Control toggles (via a shared Minor performance hint: adds Written by Cursor Bugbot for commit ba2ccdd. Configure here. |
Greptile SummaryThis PR improves Lighthouse performance and WCAG accessibility scores for the landing page. Changes include: switching from Key changes:
Confidence Score: 5/5Safe to merge — all changes are targeted accessibility and performance improvements with no logic regressions. The only finding is a P2 style issue (redundant No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Browser Request - Landing Page] --> B{Cached?}
B -- Yes, within 1h --> C[Serve Static HTML\nrevalidate=3600]
B -- No / Stale --> D[Next.js ISR Re-render]
D --> C
C --> E[Layout - layout.tsx]
E --> F[dns-prefetch\nassets.onedollarstats.com]
E --> G[Landing Component]
G --> H[Hero - priority images]
G --> I[Collaboration - no priority]
G --> J[Features - no priority]
G --> K[Enterprise Section]
G --> L[Footer CTA\naria-label on submit]
K --> M[AuditLogPreview\ncontrast improved]
K --> N[AccessControlPanel]
N --> O[FeatureToggleItem\nrole=button / aria-pressed / keyboard handler]
Reviews (3): Last reviewed commit: "fix(landing): ensure explicit delay prop..." | Re-trigger Greptile |
apps/sim/app/(home)/components/enterprise/components/access-control-panel.tsx
Outdated
Show resolved
Hide resolved
|
@greptile |
|
@cursor review |
apps/sim/app/(home)/components/enterprise/components/access-control-panel.tsx
Outdated
Show resolved
Hide resolved
|
@greptile |
|
@cursor review |
Summary
force-dynamicwith ISR (revalidate = 3600) on landing page to reduce TTFBpriorityfrom below-fold images (collaboration, features) to free bandwidth for LCParia-labelto icon-only submit button in footer CTArole="button", keyboard handlers, and ARIA attributes to access control panel togglesType of Change
Testing
Tested manually
Checklist