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

Update: alternative item option text added (fixes #209) #210

Merged
merged 6 commits into from
Oct 30, 2023

Conversation

kirsty-hames
Copy link
Contributor

@kirsty-hames kirsty-hames commented Oct 24, 2023

Fixes #209

Provide an optional altText property to set the item aria-label. If no altText is set, then text will set the aria-label as per the current functionality.

Use altText to specify how a word or words should be pronounced.

e.g. 'IT' to read as 'eye tea' not 'it'.

e.g '$5bn' to read as 'five billion dollars' not 'dollar symbol five b n'.

See similar PR for GMCQ adaptlearning/adapt-contrib-gmcq#173

templates/mcq.jsx Outdated Show resolved Hide resolved
Co-authored-by: Oliver Foster <[email protected]>
Copy link
Contributor

Choose a reason for hiding this comment

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

👀

Copy link
Contributor

@joe-allen-89 joe-allen-89 left a comment

Choose a reason for hiding this comment

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

👍

@joe-allen-89 joe-allen-89 merged commit 3d4f9ba into master Oct 30, 2023
@joe-allen-89 joe-allen-89 deleted the issue/209 branch October 30, 2023 11:04
github-actions bot pushed a commit that referenced this pull request Oct 30, 2023
# [7.4.0](v7.3.11...v7.4.0) (2023-10-30)

### Update

* alternative item option text added (fixes #209) (#210) ([3d4f9ba](3d4f9ba)), closes [#209](#209) [#210](#210)
@github-actions
Copy link

🎉 This PR is included in version 7.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

Item text doesn't support an accessible alternative
4 participants