Skip to content

Commit 74231f2

Browse files
committed
fix: reduce number characters for description
1 parent 4756f61 commit 74231f2

31 files changed

+64
-64
lines changed

content/en/blog/announcing-ux-patterns-launch.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Launching "UX Patterns for Devs"
33
image: ../../../public/img/opengraph-image.png
4-
description: "Introducing today my new open-source resource filled with proven UX patterns, practical code snippets, and actionable tips - empowering developers to build more accessible and user-friendly interfaces."
4+
description: "Introducing a new open-source resource with UX patterns and code snippets to help developers build more accessible and user-friendly interfaces."
55
date: 2024-12-11
66
authors:
77
- name: David Dias

content/en/blog/ux-patterns-gpt.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: UX Patterns for Devs GPT
33
image: ../../../public/blog/ux-patterns-gpt.jpg
4-
description: "I'm excited to announce the launch of UX Patterns for Devs GPT, a new AI-powered tool connected to the UX Patterns for Devs project."
4+
description: "Announcing UX Patterns for Devs GPT, an AI tool that enhances the UX Patterns project with intelligent pattern suggestions."
55
date: 2024-12-13
66
authors:
77
- name: David Dias

content/en/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Build Better User Experiences"
3-
description: "UX Patterns for Developers is a collection of UX patterns for everyone but specially towards developers who want to understand how to build effective UI components accessible and usable."
3+
description: "A collection of UX patterns for developers to build effective, accessible, and usable UI components."
44
searchable: false
55
---
66

content/en/pattern-guide/choosing-input-types.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
summary: "Select the most appropriate HTML input type based on your data collection needs"
3-
description: "A comprehensive guide to choosing between different HTML input types based on factors like data structure, user experience, and validation requirements."
3+
description: "Guide to choosing HTML input types based on data structure, user experience, and validation needs."
44
icon: FormInput
55
status: complete
66
---

content/en/pattern-guide/pagination-vs-infinite-scroll.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
summary: "Choose the right content loading pattern based on your user needs and content type"
3-
description: "An in-depth comparison and decision guide to help you choose between pagination and infinite scroll patterns based on factors like content type, user behavior, and technical requirements."
3+
description: "Compare pagination and infinite scroll patterns to choose the best option based on content type and user behavior."
44
icon: Split
55
---
66

content/en/patterns/books.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: "Recommended UX books for developers"
2+
description: "A curated list of essential UX books to help developers improve their design and implementation skills."
33
icon: Book
44
---
55

content/en/patterns/content-management/drag-and-drop.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
summary: "Allow users to reorder items intuitively"
3-
description: "Implement drag and drop functionality in your web applications. Learn best practices for creating intuitive item reordering with proper accessibility and touch support."
3+
description: "Build intuitive drag and drop functionality with accessibility and touch support."
44
icon: Grab
55
---
66

content/en/patterns/content-management/expandable-text.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
summary: "Show or hide additional text content on demand"
3-
description: "Learn how to implement expandable text components in your web applications. Discover best practices for progressive disclosure, accessibility, and user experience with practical examples."
3+
description: "Create expandable text components with progressive disclosure and accessibility features for better content management."
44
icon: PlusSquare
55
status: complete
66
---
@@ -198,7 +198,7 @@ Each expandable text interaction provides valuable insights into user behavior.
198198

199199
### Event Payload Structure
200200

201-
To ensure consistent tracking, heres a recommended event format:
201+
To ensure consistent tracking, here's a recommended event format:
202202

203203
```json
204204
{
@@ -227,7 +227,7 @@ By analyzing tracking data, we can optimize the expandable text experience:
227227

228228
- 🚨 **Low Expand Rate?**
229229
→ Users may not notice or feel the need to expand content.
230-
**Optimization:** Adjust design cues (e.g., larger icons, clearer labels like Read More), or test making the content visible by default.
230+
**Optimization:** Adjust design cues (e.g., larger icons, clearer labels like "Read More"), or test making the content visible by default.
231231

232232
-**Short Read Time After Expand?**
233233
→ Users might not be engaging with the expanded content.
@@ -239,7 +239,7 @@ By analyzing tracking data, we can optimize the expandable text experience:
239239

240240
- 🔁 **High Re-Expand Rate?**
241241
→ Users may be struggling to retain information after collapsing the text.
242-
**Optimization:** Consider keeping key details visible at all times or providing a sticky summary.
242+
**Optimization:** Consider keeping key details visible at all times or providing a "sticky" summary.
243243

244244
- ⚙️ **Auto-Expand Not Leading to Higher Engagement?**
245245
→ Automatically expanded content may be ignored.

content/en/patterns/content-management/modal.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
summary: "Display focused content or actions"
3-
description: "Create effective modal dialogs for your web applications. Learn best practices for implementing accessible modal windows with proper focus management and keyboard interactions."
3+
description: "Build accessible modal dialogs with proper focus management, keyboard interactions, and user experience best practices."
44
icon: Maximize2
55
status: complete
66
---
@@ -212,63 +212,63 @@ graph TD
212212

213213
#### Forcing Users Into a Modal (No Close Option)
214214

215-
**❌ Whats Wrong?** Users feel trapped if they cant exit a modal.
215+
**❌ What's Wrong?** Users feel trapped if they can't exit a modal.
216216

217217
**How to Fix It?** Always provide a clear **close button (X)** and support the `Esc` key for dismissal.
218218

219219
---
220220

221221
#### Triggering Modals on Page Load
222222

223-
**❌ Whats Wrong?** Unrequested modals on page load can feel like pop-ups that disrupt user flow.
223+
**❌ What's Wrong?** Unrequested modals on page load can feel like pop-ups that disrupt user flow.
224224

225225
**How to Fix It?** Only show modals when the user **intentionally** initiates them.
226226

227227
---
228228

229229
#### Disrupting Background Page Focus
230230

231-
**❌ Whats Wrong?** Some modals allow interaction with background content while open, causing layered focus.
231+
**❌ What's Wrong?** Some modals allow interaction with background content while open, causing layered focus.
232232

233-
**How to Fix It?** Add a **focus trap** inside the modal and prevent background interaction until its closed.
233+
**How to Fix It?** Add a **focus trap** inside the modal and prevent background interaction until it's closed.
234234

235235
---
236236

237237
#### Modal Closes on Accidental Click
238238

239-
**❌ Whats Wrong?** Clicking outside the modal might unintentionally dismiss it, frustrating or confusing users.
239+
**❌ What's Wrong?** Clicking outside the modal might unintentionally dismiss it, frustrating or confusing users.
240240

241-
**How to Fix It?** Only allow closing on background click if its non-critical info. For important data, require an explicit close action.
241+
**How to Fix It?** Only allow closing on background click if it's non-critical info. For important data, require an explicit close action.
242242

243243
---
244244

245245
#### Missing or Incorrect ARIA Markup (Accessibility)
246246

247-
**❌ Whats Wrong?** If the modal isnt announced as a dialog (e.g., missing `role="dialog"`), screen readers might not indicate it properly.
247+
**❌ What's Wrong?** If the modal isn't announced as a dialog (e.g., missing `role="dialog"`), screen readers might not indicate it properly.
248248

249249
**How to Fix It?** Use `role="dialog"` or the `<dialog>` element with `aria-modal="true"`. Provide a clear heading or label.
250250

251251
---
252252

253253
#### Failing to Return Focus to the Trigger (Accessibility)
254254

255-
**❌ Whats Wrong?** When the modal closes, focus can get lost (e.g., jump to the top of the page).
255+
**❌ What's Wrong?** When the modal closes, focus can get lost (e.g., jump to the top of the page).
256256

257257
**How to Fix It?** Store the element that triggered the modal and **return focus** to it after closing.
258258

259259
---
260260

261261
#### No Visible Focus States (Accessibility)
262262

263-
**❌ Whats Wrong?** Keyboard users cant see where they are if no focus outline is visible on buttons or form fields.
263+
**❌ What's Wrong?** Keyboard users can't see where they are if no focus outline is visible on buttons or form fields.
264264

265-
**How to Fix It?** Ensure a **clear, high-contrast focus indicator** is present. Validate you can Tab through all interactive elements.
265+
**How to Fix It?** Ensure a **clear, high-contrast focus indicator** is present. Validate you can "Tab" through all interactive elements.
266266

267267
---
268268

269269
#### Overly Complex or Overstuffed Modals (Accessibility)
270270

271-
**❌ Whats Wrong?** If a modal presents too much content (long forms, lots of text), users relying on screen readers may be overwhelmed.
271+
**❌ What's Wrong?** If a modal presents too much content (long forms, lots of text), users relying on screen readers may be overwhelmed.
272272

273273
**How to Fix It?** Keep modals **brief and to the point**. For more complex workflows, use a dedicated page or a multi-step wizard.
274274

@@ -293,7 +293,7 @@ Each modal interaction provides valuable insights into user behavior. Below are
293293

294294
### Event Payload Structure
295295

296-
To ensure consistent tracking, heres a recommended event format:
296+
To ensure consistent tracking, here's a recommended event format:
297297

298298
```json
299299
{
@@ -313,7 +313,7 @@ Once tracking is in place, the following metrics provide actionable insights:
313313
- Open Rate → Percentage of users who see the modal (manual vs. auto-open).
314314
- Engagement Rate → Percentage of users who interact with the modal before closing.
315315
- Dismissal Rate → Percentage of users who close the modal without taking any action.
316-
- Completion Rate → Percentage of users who complete the modals primary action.
316+
- Completion Rate → Percentage of users who complete the modal's primary action.
317317
- Time in Modal → Average time users spend inside the modal.
318318

319319
### Insights & Optimization Based on Tracking
@@ -340,7 +340,7 @@ By analyzing tracking data, we can optimize the modal experience:
340340
→ If most users dismiss auto-open modals immediately, they may be perceived as annoying.
341341
**Optimization:** Make them **manual-triggered only**, delay their appearance, or ensure they are only shown when truly relevant.
342342

343-
By continuously monitoring these metrics, we can refine the modals effectiveness and ensure it enhances, rather than disrupts, the user experience.
343+
By continuously monitoring these metrics, we can refine the modal's effectiveness and ensure it enhances, rather than disrupts, the user experience.
344344

345345
## Localization
346346

content/en/patterns/forms/autocomplete.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
summary: "Suggest options as users type"
3-
description: "Implement user-friendly autocomplete functionality in your web applications. Learn best practices for search suggestions, keyboard navigation, and accessibility with practical examples."
3+
description: "Build user-friendly autocomplete with search suggestions, keyboard navigation, and accessibility features."
44
icon: Search
55
status: complete
66
---

0 commit comments

Comments
 (0)