Skip to content

MCKIN-12116 for text provided for label of answer editable - #245

Merged
Agrendalath merged 6 commits into
open-craft:masterfrom
musmanmalik:usman/MCKIN-12116
Nov 13, 2019
Merged

MCKIN-12116 for text provided for label of answer editable#245
Agrendalath merged 6 commits into
open-craft:masterfrom
musmanmalik:usman/MCKIN-12116

Conversation

@musmanmalik

@musmanmalik musmanmalik commented Oct 28, 2019

Copy link
Copy Markdown
Contributor

There was no label for text provided for answer editable. while accessibility testing screen reader was not considering it a valid label while accessibility testing. Now FOR/ID provided for that.

@musmanmalik

Copy link
Copy Markdown
Contributor Author

@msaqib52 please review this

<div class="xblock-answer" data-completed="{{ self.completed }}">
{% if not hide_header %}<h4 class="question-title">{{ self.display_name_with_default }}</h4>{% endif %}
<label><p>{{ self.question|safe }}</p>
<label for="label for answer textarea"><p>{{ self.question|safe }}</p>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Let's add - instead of spaces in id.

@musmanmalik

Copy link
Copy Markdown
Contributor Author

@xitij2000 Please review this pull request and create a release tag.

@xitij2000

Copy link
Copy Markdown
Member

@musmanmalik Sure, I've created a ticket, and we should review it early next sprint.

@Agrendalath

Copy link
Copy Markdown
Member

@musmanmalik, sorry, haven't noticed that the PR is ready. I'll review this tomorrow.

@musmanmalik

Copy link
Copy Markdown
Contributor Author

@Agrendalath @xitij2000 any update redarding this?

@Agrendalath Agrendalath left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍

  • I tested this: checked that the correct for is set for the label
  • I read through the code
  • I checked for accessibility issues
  • Includes documentation

@Agrendalath
Agrendalath merged commit 6d78464 into open-craft:master Nov 13, 2019
@Agrendalath

Copy link
Copy Markdown
Member

@musmanmalik, thank you for the contribution! I merged the PR and created the release.

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