From 73eba1694164e6ac46b10cef5f864ce4efd155d7 Mon Sep 17 00:00:00 2001 From: Nasir Hussain Date: Thu, 14 Nov 2019 16:17:56 +0500 Subject: [PATCH 1/4] MCKIN-12203 AF#91-MRQ-Ensure custom controls are keyboard accessible --- problem_builder/public/css/questionnaire.css | 4 ++++ problem_builder/templates/html/mrqblock.html | 4 ++-- setup.py | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/problem_builder/public/css/questionnaire.css b/problem_builder/public/css/questionnaire.css index 665106f9..9defebfa 100644 --- a/problem_builder/public/css/questionnaire.css +++ b/problem_builder/public/css/questionnaire.css @@ -22,6 +22,10 @@ .mentoring div[data-block-type=pb-mrq] .questionnaire .choice-result { display: inline-block; + padding: 0; + margin: 0; + background: none; + border: none; } .mentoring .questionnaire .choice { diff --git a/problem_builder/templates/html/mrqblock.html b/problem_builder/templates/html/mrqblock.html index 111697a8..19e8a90b 100644 --- a/problem_builder/templates/html/mrqblock.html +++ b/problem_builder/templates/html/mrqblock.html @@ -8,11 +8,11 @@

{{ self.display_name_
{% for choice in custom_choices %}
-
+ data-label_incorrect="{% trans "Incorrect" %}">