From 0dae43989a790d3c6d23639f42f183eda1d50386 Mon Sep 17 00:00:00 2001 From: Joyce Zhu Date: Wed, 7 Aug 2024 15:40:41 +0000 Subject: [PATCH] Clarify tooltip lint message Briefly explains what the options for doing something actionable are to users --- lib/primer/view_components/linters/tooltipped_migration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/primer/view_components/linters/tooltipped_migration.rb b/lib/primer/view_components/linters/tooltipped_migration.rb index 9183ebbd6c..68bf5043f6 100644 --- a/lib/primer/view_components/linters/tooltipped_migration.rb +++ b/lib/primer/view_components/linters/tooltipped_migration.rb @@ -10,7 +10,7 @@ class TooltippedMigration < Linter include LinterRegistry include Helpers::RuleHelpers - MIGRATE_TO_NEWER_TOOLTIP = ".tooltipped has been deprecated. There are major accessibility concerns with using this tooltip so please take action. See https://primer.style/guides/rails/migration-guides/primer-css-tooltipped." + MIGRATE_TO_NEWER_TOOLTIP = ".tooltipped has been deprecated. Due to major accessibility concerns with using this tooltip, please migrate to a Primer Tooltip component or rework the design to eliminate the tooltip. See https://primer.style/guides/rails/migration-guides/primer-css-tooltipped." TOOLTIPPED_RUBY_PATTERN = /classes:.*tooltipped|class:.*tooltipped/.freeze def run(processed_source)