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

fix aria-label from inputs #675

Merged
merged 1 commit into from
Oct 27, 2022
Merged

Conversation

juanSanchezAlcala
Copy link
Contributor

fix aria-label on inputs for voice commands so they content entirely the text of the title section where they are contained.
ticket

@juanSanchezAlcala juanSanchezAlcala requested a review from a team as a code owner October 26, 2022 14:39
@next-team next-team temporarily deployed to x-dash-ci-1367-dac-labe-xcjpvl October 26, 2022 14:39 Inactive
@@ -18,7 +18,7 @@ export default ({ rafTitle, rafDescription, urls, actions }) => {
value={urls.raf}
className="x-gift-article__url-input"
readOnly
aria-label="Gift free subscription shareable link"
aria-label={rafTitle}
Copy link
Contributor

Choose a reason for hiding this comment

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

What does rafTitle contain - any example text (i.e. what would be in props.raf?.title)?

Presumably it'll be "Share this article" instead of "Gift free subscription shareable link".

Going by this line the default would be 'Gift 2 months free access to the FT'?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes it would contain the title of the section and in this case is the default .
image

Copy link
Contributor

@jamesr101 jamesr101 left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@juanSanchezAlcala juanSanchezAlcala merged commit fb6796d into main Oct 27, 2022
@juanSanchezAlcala juanSanchezAlcala deleted the CI-1367-dac-label-in-name-10 branch October 27, 2022 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants