Skip to content

Conversation

@jugglinmike
Copy link
Contributor

@jugglinmike jugglinmike commented Aug 19, 2025

Preview Tests

Rename "unexpected behaviors" and "undesirable behaviors" to "negative side effects".

The modifications in patch were generated with the following command:

git ls-files -z tests/resources |
  xargs -0 sed -i \
    -e 's/\(unexpected\|undesirable\)\([- ]\)behavior/negative\2side\2effect/g' \
    -e 's/\(Unexpected\|Undesirable\) behavior/Negative side effect/g' \
    -e 's/\(Unexpected\|Undesirable\) Behavior/Negative Side Effect/g' \
    -e 's/\(unexpected\|undesirable\)Behavior/negativeSideEffect/g' \
    -e 's/\(Unexpected\|Undesirable\)Behavior/NegativeSideEffect/g' \
    -e 's/\(has\|Has\|doesNotHave\)Unexpected/\1NegativeSideEffect/g'

This patch depends on w3c/aria-at-app#1498

Rename "unexpected behaviors" and "undesirable behaviors" to "negative
side effects".

The modifications in patch were generated with the following command:

    git ls-files -z tests/resources |
      xargs -0 sed -i \
        -e 's/\(unexpected\|undesirable\)\([- ]\)behavior/negative\2side\2effect/g' \
        -e 's/\(Unexpected\|Undesirable\) behavior/Negative side effect/g' \
        -e 's/\(Unexpected\|Undesirable\) Behavior/Negative Side Effect/g' \
        -e 's/\(unexpected\|undesirable\)Behavior/negativeSideEffect/g' \
        -e 's/\(Unexpected\|Undesirable\)Behavior/NegativeSideEffect/g' \
        -e 's/\(has\|Has\|doesNotHave\)Unexpected/\1NegativeSideEffect/g'
Copy link
Contributor

@howard-e howard-e left a comment

Choose a reason for hiding this comment

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

Closely related to my review comment in the app PR, what would you think of also addressing these 2 instances of "undesirable"?

@jugglinmike
Copy link
Contributor Author

All set!

Copy link
Contributor

@howard-e howard-e left a comment

Choose a reason for hiding this comment

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

Looks good! Also approved the related aria-at-app#1498. As noted there, feel free to merge once timing of this has been finalized.

Great stuff!

@howard-e howard-e merged commit 5291706 into master Sep 11, 2025
10 checks passed
@howard-e howard-e deleted the rename-unexpected branch September 11, 2025 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants