Skip to content

Conversation

@kdaily
Copy link
Member

@kdaily kdaily commented Sep 19, 2025

Issue #, if available:

Description of changes:

Make error messages more accessible.

Per user feedback, the error messages are not easy to discover when using assistive technologies, like screen readers. This change adds more structure and differentiation to the error messages when running a non-existent AWS CLI command or sub-command by capitalizing and surrounding in square brackets the "error" string in the error message.

Previous error:

aws: error: Some error message.

New error:

aws: [ERROR]: Some error message.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Per user feedback, this change makes the error string more identifiable.
It capitalizes "error" in the message and add square brackets around it.
@kdaily kdaily force-pushed the adjust-error-message branch from eda9e89 to cda3e42 Compare September 19, 2025 17:37
@kdaily kdaily changed the title Adjust error message [v2] Adjust error message for accessibility Sep 19, 2025
@kdaily kdaily requested a review from aemous September 19, 2025 17:43
Copy link
Contributor

@aemous aemous left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kdaily kdaily merged commit e770490 into aws:cli-accessibility Sep 22, 2025
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants