From 40e2926ed2e7b11e3d3dcdca935dfd4e8009180a Mon Sep 17 00:00:00 2001 From: Joseph Avila Alvarez Date: Sat, 7 Dec 2024 12:46:32 -0500 Subject: [PATCH 1/2] WIP --- docs/pages/kbutton.vue | 17 +++++++++++++++++ lib/buttons-and-links/KButton.vue | 13 +++++++++++++ 2 files changed, 30 insertions(+) diff --git a/docs/pages/kbutton.vue b/docs/pages/kbutton.vue index d4c81d6f3..d060be5a0 100644 --- a/docs/pages/kbutton.vue +++ b/docs/pages/kbutton.vue @@ -53,6 +53,23 @@ /> +

+ When using KButton with a dropdown menu, it automatically adds appropriate ARIA attributes: + aria-haspopup="menu" and aria-expanded for accessibility. +

+ + + + + Date: Thu, 12 Dec 2024 22:49:32 -0500 Subject: [PATCH 2/2] update --- docs/pages/kbutton.vue | 17 ----------------- lib/KDropdownMenu.vue | 5 ++++- lib/buttons-and-links/KButton.vue | 13 ------------- lib/buttons-and-links/KIconButton.vue | 4 +++- 4 files changed, 7 insertions(+), 32 deletions(-) diff --git a/docs/pages/kbutton.vue b/docs/pages/kbutton.vue index d060be5a0..d4c81d6f3 100644 --- a/docs/pages/kbutton.vue +++ b/docs/pages/kbutton.vue @@ -53,23 +53,6 @@ /> -

- When using KButton with a dropdown menu, it automatically adds appropriate ARIA attributes: - aria-haspopup="menu" and aria-expanded for accessibility. -

- - - - -
- +