Skip to content

Instantly share code, notes, and snippets.

View dragontheory's full-sized avatar
Could tell you, but then I'd have to, well... you know.

D7460N dragontheory

Could tell you, but then I'd have to, well... you know.
View GitHub Profile

Occam’s Razor Law in UX

Source: uxhints.com

Entia non sunt multiplicanda praeter necessitatem
(Latin): Entities should not be multiplied beyond necessity.

When faced with multiple competing explanations or hypotheses, one should prefer the simplest explanation with the fewest assumptions.

🔍 <search>: The generic search element

Source: MDN Web Docs
Maintainer: Mozilla Contributors
Last Reviewed: 2024

Baseline 2023 - Newly available

Since October 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

🧷 What does "Framework-Agnostic" Mean?

To be framework-agnostic means building user interfaces that are not tied to—or dependent on—any specific JavaScript framework. It’s not about rejecting frameworks, but about building with portability, independence, and longevity in mind.

🔍 Why This Matters (Especially for Framework Developers)

  • Compatible, Not Exclusive: This approach works alongside React, Vue, Angular, or Web Components. It’s additive—not competitive.
  • Decoupled Architecture: Native HTML/CSS structure stays intact no matter which framework (if any) is layered on top.
  • Progressive Integration: Teams can adopt or phase out frameworks without rewriting foundational UI code.
  • Flexible Use of Frameworks: You can introduce a framework only where needed, keeping the rest declarative and native.

🧩 Benefits of Microinteractions in Web Designing

💡 Micro-interactions are small moments where the user and design interact. When they are well designed, micro-interaction enhances the user’s experience with the design. When they are poorly designed, they damage the experience.

🎯 The micro-interactions are small, suitable animations or feedback that occur in an app or website. They give a better user experience by providing visual cues and responsiveness. For example, a button changing color when clicked is a micro-interaction.

🔄 Various Types of Micro-interactions are:

  • 🔘 Buttons: The buttons are usually interactive elements that respond when you click or tap.

🧩 UI Is Not UX

Author: D7460N
Context: Architecture principles for framework agnostic, standards-based, role-aware, accessible SPAs


🧠🖼️ UI Is Not UX

UI (User Interface) is what users see and interact with 🖱️. It’s the visible structure: HTML markup, CSS styles, and controls that expose functionality.

UAT Documentation (Part 2) : : Accessibility and Usability Acceptance Criteria

Companion to : : UAT Documentation (Part 1) : : Accessibility and Usability Requirements


📚 References

UAT Documentation (Part 1) : : Accessibility and Usability Requirements

✨ Context

Federal mandates and corporate policies require digital products to meet defined accessibility and usability standards. Incorporating them early in the development process aligns with compliance requirements and helps avoid rework, audit issues, and preventable user barriers.


⚙️ Why Include These Early?

🔎 <search> Element in HTML

The <search> element is a new semantic HTML element introduced to explicitly define a region intended for performing search queries. It enhances accessibility and improves semantic clarity for screen readers and other assistive technologies.


✅ Benefits

  • Semantic Clarity: Indicates a dedicated search area without overloading <form> or <section> semantics.
  • Accessibility: Exposes the region to screen readers and AT as a search landmark (when paired with ARIA).

🖧 Dynamic Host Configuration Protocol (DHCP)

🗓️ Last Updated: 27 Dec, 2024
🔗 Source: GeeksforGeeks - Dynamic Host Configuration Protocol (DHCP)

Dynamic Host Configuration Protocol is a network protocol used to automate the process of assigning IP addresses and other network configuration parameters to devices (such as computers, smartphones, and printers) on a network. Instead of manually configuring each device with an IP address, DHCP allows devices to connect to a network and receive all necessary network information, like IP address, subnet mask, default gateway, and DNS server addresses, automatically from a DHCP server.

This makes it easier to manage and maintain large networks, ensuring devices can communicate effectively without conflicts in their network settings. DHCP plays a crucial role in modern networks by simplifying the process of connecting devices and managing network resources efficiently.

❓ Wh

A couple CSS tricks for HTML <dialog> elements

🗓️ Jan 9, 2025

✍️ Author: Cassidy Williams

https://cassidoo.co/post/css-for-dialogs/

I recently was messing around with the HTML <dialog> element. It’s really handy for native dialogs without a ton of JavaScript.