Just write.

Sara Soueidan · 2018年8月14日

AI 摘要 AI 生成,可能有误

The author explains how her habit of writing long, technical deep dives made her overly critical of her own work, causing her to abandon drafts and stop publishing for months. By silencing her inner critic and publishing shorter, rougher case studies, she rediscovered the joy of writing — even finding that her concise articles were better received, as in the case of her well-praised HSL article. She encourages everyone to just write, publish, and share for themselves, regardless of whether anyone reads or judges their work.

I got used to writing lengthy technical articles over the last few years that I’d been finding it increasingly harder to publish articles that are not lengthy and overly technical over the last few months. This had led me to abandon a lot of rough ideas and article drafts, eventually leading to my blog feeling abandoned for months in a row.

This isn’t just bad because, well, it is bad. What made it worse is the fact that one of my most recurring pieces of advice is telling people to just write — write down what you learned, no matter how big or small. Start a blog and publish your writings there. Don’t think about whether or not people will like or read your articles — just give them a home and put them out there.

Most popular blogs I know started out as a series of articles that were written for the authors themselves, as a way to document their process and progress for their future selves to reference when they needed to. Heck, my own first few articles started out as rough drafts full of notes that I jotted down as I was learning new concepts (“CSS3” animations, anyone?), and then cleaned the notes up into an article so that it’d be easier for me to come back to those notes in the future.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Sara Soueidan

The CSS caret-* properties and custom caret accessibility

AI 摘要This article examines the CSS caret-* properties (caret-color, caret-animation, and caret-shape) and the accessibility considerations surrounding the caret, an often-overlooked focus indicator for editable text and caret browsing mode. It explains how caret browsing enables precise keyboard navigation of web pages, and how operating systems like macOS and Windows provide accessibility settings for caret blinking, thickness, and visibility that browsers honor inconsistently. The author urges caution when applying custom caret styles, since the caret may be the only focus indicator some keyboard or pointer users receive.

My top picks for Interop 2027

AI 摘要The author shares their ranked picks for Interop 2027, a yearly project aiming to improve cross-browser interoperability of key web platform features, using Firefox's community ranking page. Their top choices—the HTML focusgroup attribute and the ariaNotify() API—reflect their preference for features that improve both accessibility/user experience and developer experience, followed by other picks like heading-related HTML attributes, Interest Invokers, and various CSS properties. The author notes that features cannot be downvoted, only ranked or left unranked, and concludes by linking to blog posts where other web developers shared their own rankings.

CSS to speech: alternative text for CSS-generated content

AI 摘要The article explains how CSS-generated content inserted via ::before and ::after pseudo-elements is included in an element's accessible name computation, and why meaningful CSS images, icons, and unicode characters need descriptive alternative text while decorative ones should be hidden from screen readers. It introduces the CSS Generated Content Module Level 3 syntax that lets authors provide alternative text after a slash in the content property (with empty-string alt text for decorative content), noting that browser support is now very good except for older browsers like Internet Explorer. The author shares testing results across browsers and screen readers such as VoiceOver, observing that CSS images without alt text are excluded from the accessibility tree, images with alt text are announced properly, and there are some quirks like NVDA not announcing Chrome's CSS image alt text and Safari only showing broken CSS image alt text when VoiceOver is enabled.

🎥 New (Video) Podcast: "Navigating the World of Web Accessibility with Sara Soueidan", with Kevin Powell

AI 摘要The author and Kevin Powell finally recorded a nearly two-hour video podcast about navigating the world of web accessibility, covering topics like HTML semantics, ARIA, screen readers, the accessibility tree, how CSS affects accessibility, and the author's Practical Accessibility course. They also chatted about shared personal interests such as cooking, fermentation, and nutrition. The author invites front-end designers and developers curious about accessibility to watch or listen and share their feedback.

CSS-only scrollspy effect using scroll-marker-group and :target-current

AI 摘要The article explains how to create a CSS-only scrollspy effect using the new scroll-target-group property combined with the :target-current pseudo-class, which automatically highlights navigation links (like a table of contents) when their target sections are scrolled into view—no JavaScript required. It describes how applying scroll-target-group to a container of HTML anchors promotes them to scroll markers, letting the browser determine and style the active link. The author also covers accessibility considerations, including WCAG contrast requirements for active link styling and using aria-current to convey the active state to screen reader users.