fix linting error in ft-input-tags.vue#2971
fix linting error in ft-input-tags.vue#2971FreeTubeBot merged 3 commits intoFreeTubeApp:developmentfrom
Conversation
|
the the label html element is always meant to be used in tandem with a html form element, e.g. showing a label next to a text field, in this case it would probably be better to switch to a |
Head branch was pushed to by a user without write access
| <label>{{ tag }}</label> | ||
| <span>{{ tag }}</span> | ||
| <font-awesome-icon | ||
| :icon="['fas', 'fa-times']" |
There was a problem hiding this comment.
We should probably also add a ':title' and an ":aria-label' to this element that will be "Remove {tag}" so people with screen readers can tell that this is a remove button
There was a problem hiding this comment.
@ChunkyProgrammer et al,
Do you mind if I do the screenreader accessibility update in a separate PR. This one atm fixes the issue its supposed to and It looks like it will take me a while to sort a screenreader fix.
Currently struggling to get a screenreader to work with freetube at all atm. I've got it reading out normal OS menu's etc but as soon as I tab to freetube it stops saying anything - same thing happens with brave, but some programs work like my password safe.
for reference i'm using Orca with espeak ( the built in linux screenreader with gnome )
There was a problem hiding this comment.
@petaded I understand you wanting to test accessibility changes, however as adding the title and aria-label attributes is standard web accessibility stuff, I think it's fine to do it without testing it with a screen reader.
absidue
left a comment
There was a problem hiding this comment.
As the linting error is blocking other PRs getting merged, I'll approve this and then PR the few accessibility lines myself.
|
@ChunkyProgrammer @absidue Here is some info to help you get it working properly. Sorry I didn't get this done quick enough to be in this PR. I appreciate your time reviewing PR's |


fix linting error in ft-input-tags.vue
Pull Request Type
Related issue
Linting is currently failing after #2849
Description
I don't quite understand why the lint error was not caught on the auto running checks on PR's.
Either way here is a fix for the linting error currently on the development branch.
Here is the reported error on dev branch:
Screenshots
Testing
Also tested the feature still works as expected. I added two channels to block. Then removed them.
Desktop
Additional context