From f6f76a17e64d7fde1324151fbe81eed7f8144693 Mon Sep 17 00:00:00 2001 From: chenhuanjie Date: Wed, 5 Nov 2025 15:12:20 +0800 Subject: [PATCH] fix --- hello/RDMind.md | 8 -------- packages/cli/.rdmind/settings.json | 6 ------ .../src/commands/extensions/examples/context/RDMind.md | 8 -------- 3 files changed, 22 deletions(-) delete mode 100644 hello/RDMind.md delete mode 100644 packages/cli/.rdmind/settings.json delete mode 100644 packages/cli/src/commands/extensions/examples/context/RDMind.md diff --git a/hello/RDMind.md b/hello/RDMind.md deleted file mode 100644 index 22f6bbce..00000000 --- a/hello/RDMind.md +++ /dev/null @@ -1,8 +0,0 @@ -# Ink Library Screen Reader Guidance - -When building custom components, it's important to keep accessibility in mind. While Ink provides the building blocks, ensuring your components are accessible will make your CLIs usable by a wider audience. - -## General Principles - -Provide screen reader-friendly output: Use the useIsScreenReaderEnabled hook to detect if a screen reader is active. You can then render a more descriptive output for screen reader users. -Leverage ARIA props: For components that have a specific role (e.g., a checkbox or a button), use the aria-role, aria-state, and aria-label props on and to provide semantic meaning to screen readers. diff --git a/packages/cli/.rdmind/settings.json b/packages/cli/.rdmind/settings.json deleted file mode 100644 index b435f054..00000000 --- a/packages/cli/.rdmind/settings.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extensions": { - "disabled": [] - }, - "$version": 2 -} diff --git a/packages/cli/src/commands/extensions/examples/context/RDMind.md b/packages/cli/src/commands/extensions/examples/context/RDMind.md deleted file mode 100644 index 22f6bbce..00000000 --- a/packages/cli/src/commands/extensions/examples/context/RDMind.md +++ /dev/null @@ -1,8 +0,0 @@ -# Ink Library Screen Reader Guidance - -When building custom components, it's important to keep accessibility in mind. While Ink provides the building blocks, ensuring your components are accessible will make your CLIs usable by a wider audience. - -## General Principles - -Provide screen reader-friendly output: Use the useIsScreenReaderEnabled hook to detect if a screen reader is active. You can then render a more descriptive output for screen reader users. -Leverage ARIA props: For components that have a specific role (e.g., a checkbox or a button), use the aria-role, aria-state, and aria-label props on and to provide semantic meaning to screen readers.