-
Notifications
You must be signed in to change notification settings - Fork 528
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
[A11y] Use alt-with-value from <oppia-noninteractive-image> in RichText #3432
Comments
* Implemented content description for rich text * Nit fix * Nit fix * Nit fix Co-authored-by: Rajat Talesra <[email protected]>
More information about this issue: In short, the code mentioned in #3433 does work well but raises the issue mentioned in #3765 .While solving this issue you can check code from #3433 for reference and make sure that it does work for #3765 also. |
Hi @BenHenning and @rt4914, I would like to work on this issue. Please assign it to me |
…RichText (#4669) ## Explanation Fixes #3432: Created a `handleContentDescription` function in CustomHtmlContentHandler which is further override in ImageTagHandler. With current approach, I am setting up text (content description text from alt-with-value) to image. ## Essential Checklist <!-- Please tick the relevant boxes by putting an "x" in them. --> - [x] The PR title and explanation each start with "Fix #bugnum: " (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".) - [x] Any changes to [scripts/assets](https://github.com/oppia/oppia-android/tree/develop/scripts/assets) files have their rationale included in the PR explanation. - [x] The PR follows the [style guide](https://github.com/oppia/oppia-android/wiki/Coding-style-guide). - [x] The PR does not contain any unnecessary code changes from Android Studio ([reference](https://github.com/oppia/oppia-android/wiki/Guidance-on-submitting-a-PR#undo-unnecessary-changes)). - [x] The PR is made from a branch that's **not** called "develop" and is up-to-date with "develop". - [x] The PR is **assigned** to the appropriate reviewers ([reference](https://github.com/oppia/oppia-android/wiki/Guidance-on-submitting-a-PR#clarification-regarding-assignees-and-reviewers-section)). ### Demo Video https://user-images.githubusercontent.com/43074241/199427651-4e3b571c-d8a9-4f02-b05f-943cd6f8a5a0.mp4 Co-authored-by: Ben Henning <[email protected]>
Currently
oppia-noninteractive-image
is used to render images in RichText.We should use its attribute
alt-with-value
as content description which will be readable by screen readers as an alternative to images.The text was updated successfully, but these errors were encountered: