dabrianator
dabrianator
Explore posts from servers
KPCKevin Powell - Community
Created by dabrianator on 3/7/2024 in #front-end
Best way to make this Frontend Mentor challenge accessible?
I was looking at this UI challenge by Frontend Mentor and I was wondering what would be the most accessible way to implement it? https://www.frontendmentor.io/challenges/pricing-component-with-toggle-8vPwRMIC The design features a toggle switch that will show different prices depending on the option that is toggled. My main question is, what would be a good way to implement the toggle switch? I tried looking popular websites to see how they implemented similar features and it seems like every website I visit has a completely different implementation. I’ve seen an implementation as plain buttons, radio buttons, some with role=“tab”, etc. Thanks! Relevant links: https://www.w3.org/WAI/ARIA/apg/patterns/tabs/ https://www.w3.org/WAI/ARIA/apg/patterns/switch/
22 replies
TTCTheo's Typesafe Cult
Created by dabrianator on 9/7/2023 in #questions
Do Next13 and therefore CT3A use turbopack and SWC by default?
https://nextjs.org/ advertises Turbopack and SWC on the front page. But I thought Next uses webpack since turbopack is still in beta?
2 replies
KPCKevin Powell - Community
Created by dabrianator on 5/15/2023 in #front-end
ARIA label for multiple currencies
Hello. I have a button with an item title + price as the aria label ex: Blue shorts $39.99 read as (Blue shorts thirty nine dollars and ninety nine cents) And the item can be sold in canada where it would be Blue shorts CA $39.99 This would be read as (Blue shorts "See Ey" thirty-nine dollars and ninety-nine cents) should I leave it to be read by screen readers in that way? Or should be something like Blue shorts $39.99 Canadian/CA/???
5 replies
TTCTheo's Typesafe Cult
Created by dabrianator on 3/7/2023 in #questions
Examples on when to use + not use serverless?
Comp Sci senior here. I've been reading up on serverless deployment and I kind of understand what it is now. What I need some help with is understanding serverless functions, like general use cases, advantages, limitations, etc. I would greatly appreciate any examples of when to use SF vs standard managed-server deployment. Thanks!
18 replies