Skip to content

Commit

Permalink
Further accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHalb committed Jul 26, 2020
1 parent 77963e2 commit f0550f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/app/components/ItemOptions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<button
class="chat-message-options border-0 text-white font-weight-bold"
ref="chatOptions"
aria-label="open message options"
@click.prevent="openContextMenu"
v-show="hovered && user.username"
@blur="hovered = false"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<template>
<div id='picker'>
<ColorSlider
aria-label="red color slider"
aria-label="red"
id='red'
gradientStart="#300"
gradientEnd="#c00"
@sliderChanged="redChanged"
colorID="red"
ref="red" />
<ColorSlider
aria-label="green color slider"
aria-label="green"
id='green'
gradientStart='#030'
gradientEnd='#0c0'
@sliderChanged="greenChanged"
colorID="green"
ref="green" />
<ColorSlider
aria-label="blue color slider"
aria-label="blue"
id='blue'
gradientStart='#003'
gradientEnd='#00c'
Expand All @@ -26,10 +26,11 @@
ref="blue" />
<div id='swatch-container'>
<button
v-for="color in defaultColors"
v-for="(color, i) in defaultColors"
:key="color"
class="swatch border-0 m-1"
:style="{ backgroundColor:color }"
:aria-label="`default color ${i + 1}`"
@click="setColor(color)" />
</div>
<p
Expand Down

0 comments on commit f0550f0

Please sign in to comment.