This is an automated email from the git hooks/post-receive script. New commit to branch ramonville in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit d69681b774a587dae6ba1c7c6014d54f6464f2c4 Author: jcouteau <couteau@codelutin.com> Date: Fri Nov 16 16:47:18 2018 +0100 Accessibilité page de vote tableau --- pollen-ui-riot-js/src/main/web/tag/poll/ChoiceView.tag.html | 7 ++++--- pollen-ui-riot-js/src/main/web/tag/poll/EditVote.tag.html | 6 +++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/ChoiceView.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/ChoiceView.tag.html index bd460b56..3e027b21 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/ChoiceView.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/ChoiceView.tag.html @@ -21,10 +21,11 @@ import "./Report.tag.html"; import "../components/MultiLineLabel.tag.html"; <ChoiceView> - <div class="choice-view {center-choice : opts.center} + <label class="choice-view {center-choice : opts.center} {with-info : opts.choice.choiceType === 'RESOURCE' || opts.choice.description && !opts.showdescription}" onclick={openModalImage} - title={standardTooltip()}> + title={standardTooltip()} + for ="{opts.choice.id}_voteValue"> <span class="choice-text" if={opts.choice.choiceType === "TEXT"}> {opts.choice.choiceValue} @@ -51,7 +52,7 @@ import "../components/MultiLineLabel.tag.html"; <span if="{opts.choice.description && opts.showdescription}"> : <MultiLineLabel class="italic" label="{opts.choice.description}"></MultiLineLabel> </span> - </div> + </label> <Report target="{opts.choice}" if="{!opts.hidereport}"/> <script type="es6"> diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/EditVote.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/EditVote.tag.html index b6cbc6dc..8c9b43ed 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/EditVote.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/EditVote.tag.html @@ -45,6 +45,7 @@ type="text" ref="voterName" name="voterName" + aria-label="{_t.authorPlaceHolder}" required maxlength="255" tabindex="1" @@ -74,6 +75,7 @@ type="checkbox" onchange="{onVoteChanged}" ref="{choice.id}_voteValue" + id="{choice.id}_voteValue" tabindex="{10 * (index + 1)}"> <input if={!pollTypeCheckbox && !pollTypeSelect} class="text c-field {c-field--error: !voteInEdition && error && (error['vote.voteValue#' + choice.id] || error['vote.totalVoteValue'])}" @@ -83,12 +85,14 @@ max={this.poll.voteCountingConfig.points} onchange="{onVoteChanged}" ref="{choice.id}_voteValue" + id="{choice.id}_voteValue" tabindex="{10 * (index + 1)}"> <select if={pollTypeSelect} class="c-field {c-field--error: !voteInEdition && error && error['vote.voteValue#' + choice.id]}" required onchange={onVoteChanged} - tabindex="{10 * (index + 1)}"> + tabindex="{10 * (index + 1)}" + id="{choice.id}_voteValue"> <option value=""></option> <option each={grad, index in poll.voteCountingConfig.grades} value={index} -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.