Skip to content

Commit

Permalink
Merge pull request #597 from nextcloud/acc_workshop
Browse files Browse the repository at this point in the history
Fix some small accessibility issues
  • Loading branch information
juliusknorr authored Aug 26, 2018
2 parents 410654b + c432f89 commit adf9e05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions templates/part.board.headerControls.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<div id="stack-add" ng-if="boardservice.canEdit() && checkCanEdit()">
<form class="ng-pristine ng-valid" ng-submit="createStack()">
<label for="new-stack-input" class="hidden-visually"><?php p($l->t('Add a new stack')); ?></label>
<input type="text" class="no-close" placeholder="<?php p($l->t('Add a new stack')); ?>"
ng-focus="status.addStack=true"
ng-blur="status.addStack=false"
ng-model="newStack.title" required
id="new-stack-input"
maxlength="100" />
<button class="button-inline icon icon-add" ng-style="{'opacity':'{{status.addStack ? 1: 0.5}}'}" type="submit" title="<?php p($l->t('Submit')); ?>">
<span class="hidden-visually"><?php p($l->t('Submit')); ?></span>
Expand Down
4 changes: 2 additions & 2 deletions templates/part.board.mainView.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="crumb title">
<a class="bullet"><span class="board-bullet" ng-style="{'background-color':'#' + boardservice.getCurrent().color}"></span></a>
<a ui-sref=".({filter: ''})">{{ boardservice.getCurrent().title }}</a>
<a ui-sref=".detail({ tab: 0 })"><span class="icon icon-share"></span></a>
<a ui-sref=".detail({ tab: 0 })" title="<?php p($l->t('Share board')); ?>"><span class="icon icon-share"></span></a>
</div>
<div class="crumb title" ng-if="params.filter=='archive'">
<a><span class="icon icon-archive"></span></a>
Expand Down Expand Up @@ -110,7 +110,7 @@
</div>
</div>
<div class="app-popover-menu-utils" ng-if="!boardservice.isArchived()">
<button class="button-inline card-options icon-more" ng-model="card"></button>
<button class="button-inline card-options icon-more" ng-model="card" aria-label="<?php p($l->t('Actions')) ?>"></button>
<div class="popovermenu hidden">
<ul>
<li ng-if="!isCurrentUserAssigned(c)">
Expand Down

0 comments on commit adf9e05

Please sign in to comment.