metacpan-web icon indicating copy to clipboard operation
metacpan-web copied to clipboard

Search distribution and grep distribution inputs should not rely on placeholder for name

Open sandbergja opened this issue 1 year ago • 0 comments

Describe the bug

When you are looking at a module page, there are two search fields on the left: "Search distribution" and "grep distribution". The fields are indicated only with a placeholder, which has a variety of accessibility issues.

To Reproduce

  1. Go to https://metacpan.org/pod/Test2
  2. In the "Search distribution" field, type "plan"
  3. In the "grep distribution" field, type "plan"
  4. Take a few minutes to get yourself some coffee or tea.
  5. Look at your screen, and see if you can tell which field is "Search", and which one is "grep" without deleting what you wrote, or without relying on a lot of experience with these fields.

Expected behavior

I would expect to have:

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Firefox
  • Version 127

sandbergja avatar Jun 17 '24 12:06 sandbergja