I love straightforward examples, like this one, of how to build progressively enhanced experiences in frameworks like React.
Step 2: Add in some HTML web components!
I love straightforward examples, like this one, of how to build progressively enhanced experiences in frameworks like React.
Step 2: Add in some HTML web components!
Progressive enhancement for the win! This post from the Edge team demonstrates that producing markup directly rather than relying on JavaScript to do it for you is faster — even in the browser UI!
In this project, we built an entirely new markup-first architecture that minimizes the size of our bundles of code, and the amount of JavaScript code that runs during the initialization path of the UI. This new internal UI architecture is more modular, and we now rely on a repository of web components that are tuned for performance on modern web engines. We also came up with a set of web platform patterns that allow us to ship new browser features that stay within our markup-first architecture and that use optimal web platform capabilities.
A quarter of all webpages that existed at one point between 2013 and 2023 are no longer accessible, as of October 2023. In most cases, this is because an individual page was deleted or removed on an otherwise functional website.
Linkrot, especially in government and legal scenarios, is a tremendous problem, which is why we need services like the Internet Archive and Perma.cc. If you have the means, please consider supporting these, and similar, projects!
I agree with so much of this piece… especially the expansive view of accessibility that is inclusive of both the disability divide and the digital divide.
Great summary here:
[M]y passion for accessibility stems from experiencing accessibility barriers personally, observing their impact on others, and holding the conviction that technology should tear down divides - not erect new ones. I want to fulfill, and help you fulfill, the web’s promise of equal access and opportunity for everyone, regardless of circumstances. Digital accessibility should not be an accommodation but a fundamental right and prerequisite for technology to truly better humanity.
My boss, Jenny Lay-Flurrie, went to New Orleans to interview Steve Gleason about his new book and so much more. It was originally recorded for an internal interview series, but we’ve made it public because it’s such an amazing conversation. Well worth your time.
At Microsoft, we’ve invested a lot into accessibility upskilling across the company. And now we’ve made our Accessibility Fundamentals learning path freely available to the world to take, either on MS Learn or within another learning environment via its SCORM (Sharable Content Object Reference Model) course package.
field-sizing
Form fan that I am, I’m excited to have CSS that enables fields (especially textarea
) to grow to accommodate the content someone’s in the process of entering into it.
I distinctly remember spending a good deal of time putting together a proof-of-concept for Twitter DMs to show how it could be done via JavaScript without killing performance, but this is far more elegant.
The Electronic Frontier Foundation (EFF) has you covered if you’d like to opt out of being indexed into tools like Open AI’s ChatGPT and Google’s Gemini. Just add these to your robots.txt file:
User-agent: GPTBot
Disallow: /
User-agent: Google-Extended
Disallow: /
Building on this, you could exclude specific directories (e.g., where you keep your images):
User-agent: GPTBot
Disallow: /i/
User-agent: Google-Extended
Disallow: /i/
I’ve decided to (for now at least) allow my text content to be indexed, but I may change my mind in the future.
While not exactly novel, this post from Josh Collinsworth is a fantastic meditation on devaluation of front-end engineering work.
Writing CSS seems to be regarded much like taking notes in a meeting, complete with the implicit sexism and devaluation of the note taker’s importance in the room.
Though critical to the project, frontend work will quite often be disregarded by those who consider it beneath them (usually men, and usually only tacitly, never explicitly). It’s not serious enough; not important enough; not real enough. Too squishy. Like soft skills.
Yes, of course, it’s important. It’s work that somebody needs to do, certainly. But probably not the important people, whose valuable attention is focused on other, bigger, more important problems.
It’s been this way for a long time. This attitude doesn’t exist on every team, but it’s pervasive throughout our industry.
Amidst all the kerfuffle over Apple’s push to drop PWAs (a.k.a., Home Screen Apps), two PWA features I worked on quietly landed in Safari for desktop: shortcuts & categories.
Added support for the
shortcuts
manifest member on macOS. Shortcuts are available in the File menu and the Dock context menu. Users can set up custom keyboard shortcuts for them in System Settings > Keyboard > Keyboard Shortcuts > App Shortcuts. (106137954)Added support for the
categories
manifest member on macOS. When creating a Launchpad folder containing web apps, the folder is automatically named accordingly. (116480550)
🎉