Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

176 messaging disclaimer #177

Merged
merged 2 commits into from
Mar 8, 2023
Merged

176 messaging disclaimer #177

merged 2 commits into from
Mar 8, 2023

Conversation

alishaevn
Copy link
Member

@alishaevn alishaevn commented Mar 6, 2023

story

when sending messages to the supplier, there should be a disclaimer

expected behavior

  • add a disclaimer on the messages modal

demo

image

@alishaevn alishaevn linked an issue Mar 6, 2023 that may be closed by this pull request
1 task
@@ -4,3 +4,7 @@
#send-message {
height: 150px;
}

.disclaimer {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you didn't want to add a whole custom style for this, you could just use the class of "small" here

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! I'll take another quick look at it tomorrow. I tried using fs-6 but it wasn't small enough.

Copy link
Contributor

@summer-cook summer-cook Mar 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

additionally (or in place of the class, if the size is small enough) it can be inside of <small></small> html tags for accessibility since these denote to screen readers that its a disclaimer

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! I added the small tags, but the text was still larger than desired with that alone. so I'm keeping the class and tag for styling plus accessibility. thanks for the note!

ref: mdn docs

@alishaevn alishaevn merged commit 48623b4 into main Mar 8, 2023
@alishaevn alishaevn deleted the 176-messaging-disclaimer branch February 27, 2024 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update messaging disclaimer
3 participants