Tagged / codeJun 22, 2022Wrap element snippetA small JavaScript snippet that wraps an existing HTML element with a new elementPost tags#snippet#codeMar 02, 2021Visually hidden snippetI constantly find myself copying and pasting this snippet into projectsPost tags#code#snippetDec 15, 2020Copyright SnippetA small JavaScript code snippet that helps keep your footer copyright up to date. (with bonus CustomElement)Post tags#snippet#code#progressive enhancement#web componentsJan 18, 2020Accordion Container Web ComponentA Custom Element wrapper that turns a set of headings into an accessible accordion widgetPost tags#code#web components#progressive enhancementDec 15, 2019Progressive enhancement doesn't have to be hardImplementing a strategy for progressive enhancement might be easier than you thinkPost tags#code#progressive enhancementJun 09, 2019Focus trapping web componentA Web Component wrapper that makes it easier to manage focus trappingPost tags#code#web componentsDec 08, 2018The HTML Straw Man FallacyYou don't need to worry about the size of your HTML if you're using tons of JavaScriptPost tags#code
Jun 22, 2022Wrap element snippetA small JavaScript snippet that wraps an existing HTML element with a new elementPost tags#snippet#code
Mar 02, 2021Visually hidden snippetI constantly find myself copying and pasting this snippet into projectsPost tags#code#snippet
Dec 15, 2020Copyright SnippetA small JavaScript code snippet that helps keep your footer copyright up to date. (with bonus CustomElement)Post tags#snippet#code#progressive enhancement#web components
Jan 18, 2020Accordion Container Web ComponentA Custom Element wrapper that turns a set of headings into an accessible accordion widgetPost tags#code#web components#progressive enhancement
Dec 15, 2019Progressive enhancement doesn't have to be hardImplementing a strategy for progressive enhancement might be easier than you thinkPost tags#code#progressive enhancement
Jun 09, 2019Focus trapping web componentA Web Component wrapper that makes it easier to manage focus trappingPost tags#code#web components
Dec 08, 2018The HTML Straw Man FallacyYou don't need to worry about the size of your HTML if you're using tons of JavaScriptPost tags#code