Skip to content

Commit

Permalink
Updating tooltip migration link to correct url (#2211)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrohan authored Aug 16, 2023
1 parent a11e1ec commit 9623ab6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/lazy-cups-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/view-components": patch
---

Updating tooltip migration linter link to correct url
2 changes: 1 addition & 1 deletion lib/primer/view_components/linters/tooltipped_migration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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://github.com/primer/view_components/blob/main/docs/content/guides/accessibility/tooltipped_migration.md."
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/design/guides/development/rails/migration-guides/primer-css-tooltipped."
TOOLTIPPED_RUBY_PATTERN = /classes:.*tooltipped|class:.*tooltipped/.freeze

def run(processed_source)
Expand Down

0 comments on commit 9623ab6

Please sign in to comment.