hypothesis / product-backlog

Where new feature ideas and current bugs for the Hypothesis product live
118 stars 7 forks source link

Make search instructions accessible #823

Open klemay opened 6 years ago

klemay commented 6 years ago

When using our search function, the user sees instructions for narrowing their search:

screen shot 2018-10-05 at 10 46 37 am

However, these instructions disappear after the search parameter is typed. For instance, when searching by url, the instructions disappear as soon as the user types url:

url-search

For a user with cognitive difficulties (or really, any user who isn't familiar with how our search works!) this makes search difficult to use.

Also, from the perspective of someone using the screenreader, I'm not sure whether the contents of that dropdown with instructions are available.

We would likely need input from @dwolfe on alternative ways to present these instructions, and we could assess those from an a11y standpoint.

dwolfe commented 6 years ago

Yep, as @hmstepanek and I were talking about this issue, I thought that we might be finding the limits of the instructions dropdown. Also, @robertknight mentioned to me that the code for this feature is a little fiddly in general, and could use some refactoring.

Recording an idea here: maybe the dropdown could be contextual, such that it first shows something like Narrow your search by user:, tag:, url:, or group:, and when one of those keywords is typed, additional instructions for that modifier appear. Conditional on the existence of an accessible way to do the dropdown.

ritobruno commented 4 years ago

Hello, I'm new here and I noticed that this issue has been inactive for some time. I agree that it's hard to notice the instruction while typing, so my question is, are they necessary? The user can search and get results without using the suggestions.

klemay commented 4 years ago

Hi @ritobruno! Yes, this issue has been inactive because this part of our code will need to be refactored before we can make meaningful improvements.

The user can indeed continue to type and perform a search even though the instructions disappear - this issue is asking for a usability/accessibility improvement.

ritobruno commented 4 years ago

Thanks @klemay. I'll wait for the code refactor and meanwhile, I will think and maybe design some usability improvements for this component. Is it the right time for this, or should I wait for green light of someone?

klemay commented 4 years ago

@ritobruno we're a small team currently focused on other areas of the code, so unfortunately I wouldn't be able to guarantee that we'd be able to do a code review for something like this - however we welcome suggestions for usability improvements in the form of user stories / feature requests! those could be shared at any time as a comment on this issue.

ritobruno commented 4 years ago

Okay @klemay, as a new user of Hypothesis and designer I'm searching for something to start my collaboration with you. Any advice?

klemay commented 4 years ago

@ritobruno since we're such a small org we're not really set up to manage a collaboration like this. if you're looking for ways to contribute to open source projects more generally, I'd suggest searching github for tags like "help wanted" to find open source projects that can review and include outside contributions. As we continue to grow we may be able to do something like this in the future - we can ping you here if/when that happens.