객관식 질문 연습을 만들고 키보드 접근성에 문제가 있습니다. 기본적으로 사용자는 키보드를 통해 라디오 버튼 목록을 순환 할 수 없습니다. "포커스"커서가 라디오 버튼 위에 있고 화살표 키를 눌러 다음 라디오 버튼으로 이동하면 키보드 트랩이 발생합니다. 단순히 초점을 맞추는 대신 라디오 버튼이 대신 선택되므로 대답이 표시됩니다. 키보드를 통해 라디오 버튼을 선택할 때 라디오 버튼을 선택하지 않으려면 어떻게합니까?라디오 버튼 키보드 트랩
HTML 태그 : 그들이 작동해야하는 방법
<div id="contentWrapper">
<p class="instructions">Click on the correct answer.</p>
<ol start="49">
<!-- Start of multiple choice question -->
<li class="multipleChoice gradedQuestion">
<p class="question">If you receive a request for an extension from a trader, you should:</p>
<input type="hidden" name="questionNumber" value="49">
<ul>
<li>
<div class="answerOption"><label for="question49A">Refer to IP 13; if the original requirements are still being met, approve the extension.</label></div>
<div class="inputAndIdContainer"><input type="radio" name="question49" value="0" id="question49A"> A.</div>
</li>
<li>
<div class="answerOption"><label for="question49B">Refer to IP 20; if the original requirements are still being met, approve the extension.</label></div>
<div class="inputAndIdContainer"><input type="radio" name="question49" value="0" id="question49B"> B.</div>
</li>
<li>
<div class="answerOption"><label for="question49C">Refer to FW1; if the original requirements are still being met, approve the extension.</label></div>
<div class="inputAndIdContainer"><input type="radio" name="question49" value="1" id="question49C"> C.</div>
</li>
</ul>
<div class="feedback">
<div class="answeredCorrectly">Correct</div>
<div class="answeredIncorrectly">Incorrect</div>
<div class="answer">
<strong>Answer:</strong> C - Refer to FW1.
</div>
</div>
</li>
<!-- End of multiple choice question -->
공유 코드 그래서 우리는 문제를 해결하는 데 도움이 수 있습니까? – Nealbo
기본적으로 HTML 코드를 추가하여 기본적으로 키보드로 라디오 버튼을 순환하여 다음 버튼을 선택합니다. 어떻게 그걸 막을 수 있니? – user1410668
탭은 화살표 키가 아닌 필드에서 필드로 이동하는 데 사용됩니다. – j08691