cisagov / manage.get.gov

A Django-based domain name registrar that interfaces with an EPP registry
https://get.gov
Other
60 stars 19 forks source link

Change pattern on removing domain managers from tooltip to alert #2711

Open gabydisarli opened 2 months ago

gabydisarli commented 2 months ago

Issue description

We're trying to avoid using tooltips when we can for accessibility reasons. In the Org Model designs, we're using a different pattern for messaging shown to users when a domain has only 1 domain manager on it. Currently, we disable the Remove button and show a tooltip on hover that tells the user they can't remove themselves because they are the sole domain manager. We'd like to change this to making the button clickable, but showing a top of page error alert that tells them they can't be removed.

Note: this is a specific use case that applies to the button only when the domain has 1 domain manager on it.

See Figma design for reference

Acceptance criteria

Additional context

No response

Links to other issues

Prioritization Comments

WCAG Conformance Level: WCAG Standard that applies: Critical Failure if Not Met?:
Prioritization: Reason:

gabydisarli commented 2 months ago

cc: @AnnaGingle here's the issue to change the tooltip to the alert pattern we're using in Org model