Skip to content

Conversation

@taylor-steve
Copy link
Contributor

Part of #3535

Adds the axe-core-rspec gem as a dev dependency. Axe core has good support for heading ordering rules, so this will start to give us some feedback as we make changes.

I've included these directly in the block specs, sometimes piggy-backing on an existing test, in an attempt to keep the number of new/mostly duplicated feature tests to a minimum. It looks like Blacklight moved away from the be_accessible helper and is now using be_axe_clean directly so I've done the same.

@taylor-steve taylor-steve force-pushed the 3535-headings-axe-tests branch 2 times, most recently from 2b05363 to c00840a Compare September 23, 2025 22:33
@taylor-steve taylor-steve marked this pull request as ready for review September 24, 2025 00:34
end

it 'is accessible' do
pending 'accessibility fixes'
Copy link
Contributor

Choose a reason for hiding this comment

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

The other pending messages reference an issue, which is really helpful. Could this reference an issue also or otherwise be more specific?

@taylor-steve taylor-steve force-pushed the 3535-headings-axe-tests branch from c00840a to 18a72a1 Compare September 24, 2025 15:04
Copy link
Contributor

@hackartisan hackartisan left a comment

Choose a reason for hiding this comment

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

👍🏻 This is a good idea for how to demonstrate the issue and enforce its resolution once that resolution is implemented. Until then, it's possible we're adding several pending tests which may remain so indefinitely (at least 1 doesn't look like it's planned work so will probably remain pending). I'm fine with that, but I'd be happier if at least one other person approves before merge.

@taylor-steve taylor-steve force-pushed the 3535-headings-axe-tests branch from 18a72a1 to 28beb9b Compare September 24, 2025 16:02
@hackartisan
Copy link
Contributor

Discussion in sprint standup was 👍🏻

@hackartisan hackartisan merged commit a36a638 into main Sep 24, 2025
6 checks passed
@hackartisan hackartisan deleted the 3535-headings-axe-tests branch September 24, 2025 17:26
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