Skip to content

Fix accessibility of Find and Replace/Go To Line error styles #218

@WebCoder49

Description

@WebCoder49

Error styles occur when a string not in the code is typed in the dialog for Find and Replace, or an invalid (too high, or too low, or wrong format) line number is typed into the dialog for Go To Line. They are in the class code-input_find-and-replace_error on the input element. They currently turn the text red, but:

The red on white has an inaccessible contrast. This needs to be improved (the lightest WCAG AAA contrast red against #ffffff is #b60000). However, error styles must still be distinguishable (though the text under the input that describes the error might help). Potentially set a background colour or red outline for the input as well as the text colour.

Metadata

Metadata

Assignees

Labels

area:existing-pluginA bug/feature for an existing plugin in the plugins folder of code-input.bugSomething isn't workingpriority:high

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions