From f4ddc33b29e47fca4046dde3f628d43ee37dc7a3 Mon Sep 17 00:00:00 2001
From: Sarah Higley
Date: Mon, 30 Aug 2021 00:18:03 -0700
Subject: [PATCH] Collapsible Listbox example: Add deprecation warning and
remove inbound links to it (pull #1852)
The select-only combobox pattern replaces the collapsable listbox pattern.
This commit:
* Removes links to collapsable listbox example page from main doc and other listbox examples.
* Adds a warning to the collapsable listbox that points to select-only combobox.
* Adds (Deprecated) to the title of the collapsable listbox example page.
Co-authored-by: Carolyn MacLeod
Co-authored-by: Matt King
---
aria-practices.html | 1 -
examples/listbox/listbox-collapsible.html | 8 ++++++--
examples/listbox/listbox-grouped.html | 1 -
examples/listbox/listbox-rearrangeable.html | 1 -
examples/listbox/listbox-scrollable.html | 1 -
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/aria-practices.html b/aria-practices.html
index 9aed12c918..4bc1a9cb9e 100644
--- a/aria-practices.html
+++ b/aria-practices.html
@@ -1811,7 +1811,6 @@
Listbox
Examples
Scrollable Listbox Example: Single-select listbox that scrolls to reveal more options, similar to HTML select with size attribute greater than one.
-
Collapsible Dropdown Listbox Example: Single-select collapsible listbox that expands when activated, similar to HTML select with the attribute size="1".
Example Listboxes with Rearrangeable Options: Examples of both single-select and multi-select listboxes with accompanying toolbars where options can be added, moved, and removed.
DEPRECATION WARNING: This pattern has been deprecated, and will be removed in a future version of the ARIA Authoring Practices. The select-only combobox should be used as an alternative to this pattern.
Select-Only Combobox: A single-select combobox with no text input that is functionally similar to an HTML select element.
Scrollable Listbox Example: Single-select listbox that scrolls to reveal more options, similar to HTML select with size attribute greater than one.
Example Listboxes with Rearrangeable Options: Examples of both single-select and multi-select listboxes with accompanying toolbars where options can be added, moved, and removed.
Scrollable Listbox Example: Single-select listbox that scrolls to reveal more options, similar to HTML select with size attribute greater than one.
Example Listboxes with Rearrangeable Options: Examples of both single-select and multi-select listboxes with accompanying toolbars where options can be added, moved, and removed.
-
Collapsible Dropdown Listbox Example: Single-select collapsible listbox that expands when activated, similar to HTML select with the attribute size="1".
Scrollable Listbox Example: Single-select listbox that scrolls to reveal more options, similar to HTML select with size attribute greater than one.
-
Collapsible Dropdown Listbox Example: Single-select collapsible listbox that expands when activated, similar to HTML select with the attribute size="1".
Example Listboxes with Rearrangeable Options: Examples of both single-select and multi-select listboxes with accompanying toolbars where options can be added, moved, and removed.
-
Collapsible Dropdown Listbox Example: Single-select collapsible listbox that expands when activated, similar to HTML select with the attribute size="1".