From 931709b7bd2514018bb22010b57bb349e9ecf768 Mon Sep 17 00:00:00 2001 From: abbyhu2000 Date: Fri, 5 Jan 2024 23:01:29 +0000 Subject: [PATCH 1/3] Eliminate screenreader content when copy paste of data grid table Signed-off-by: abbyhu2000 --- src/themes/oui-next/global_styling/mixins/_helpers.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/themes/oui-next/global_styling/mixins/_helpers.scss b/src/themes/oui-next/global_styling/mixins/_helpers.scss index ce347c1819..c1c2bcbf94 100644 --- a/src/themes/oui-next/global_styling/mixins/_helpers.scss +++ b/src/themes/oui-next/global_styling/mixins/_helpers.scss @@ -114,6 +114,7 @@ width: 1px; height: 1px; overflow: hidden; + user-select: none; } // Specifically target IE11, but not Edge. From ca9e2c580259dfcd3623f0b9c823ab03d002654e Mon Sep 17 00:00:00 2001 From: abbyhu2000 Date: Fri, 5 Jan 2024 23:16:09 +0000 Subject: [PATCH 2/3] add changelog Signed-off-by: abbyhu2000 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b0e2ad6dd..5c0aa7e0bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ - Implement validation for icon input source & set default icon to `Beaker` ([#1137](https://github.com/opensearch-project/oui/pull/1137)) - Add `Docking` icons ([#1041](https://github.com/opensearch-project/oui/pull/1041)) - Add SplitButton control ([#1193](https://github.com/opensearch-project/oui/pull/1193)) +- Eliminate screenreader content when copying and pasting data grid table ([#1198](https://github.com/opensearch-project/oui/pull/1198)) ### 🐛 Bug Fixes From c860d1917d06c7a9f094b4d02046eec65afabbf8 Mon Sep 17 00:00:00 2001 From: abbyhu2000 Date: Wed, 17 Jan 2024 23:12:05 +0000 Subject: [PATCH 3/3] add it to current theme Signed-off-by: abbyhu2000 --- src/global_styling/mixins/_helpers.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/global_styling/mixins/_helpers.scss b/src/global_styling/mixins/_helpers.scss index ce347c1819..c1c2bcbf94 100644 --- a/src/global_styling/mixins/_helpers.scss +++ b/src/global_styling/mixins/_helpers.scss @@ -114,6 +114,7 @@ width: 1px; height: 1px; overflow: hidden; + user-select: none; } // Specifically target IE11, but not Edge.