Skip to content

Commit

Permalink
fix(region): replaces tabs for spaces in prior commit
Browse files Browse the repository at this point in the history
my IDE was adding tabs ew, replaced with spaces

Refs: #4145
  • Loading branch information
gaiety-deque committed Apr 16, 2024
1 parent ace25cd commit 7c810e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/checks/navigation/region.js
Expand Up @@ -49,7 +49,7 @@ describe('region', function () {
it('should return false when img content is outside the region', function () {
var checkArgs = checkSetup(`
<img id="target" src="data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7">
<div role="main">Content</div>
<div role="main">Content</div>
`);

assert.isFalse(checkEvaluate.apply(checkContext, checkArgs));
Expand All @@ -58,7 +58,7 @@ describe('region', function () {
it('should return true when img content outside of the region is decorative, via an empty alt attr', function () {
var checkArgs = checkSetup(`
<img id="target" src="#" width="1" height="1" alt="" />
<div role="main">Content</div>
<div role="main">Content</div>
`);

assert.isTrue(checkEvaluate.apply(checkContext, checkArgs));
Expand All @@ -67,7 +67,7 @@ describe('region', function () {
it('should return true when img content outside of the region is decorative, via a presentation role', function () {
var checkArgs = checkSetup(`
<img id="target" src="#" width="1" height="1" role="presentation />
<div role="main">Content</div>
<div role="main">Content</div>
`);

assert.isTrue(checkEvaluate.apply(checkContext, checkArgs));
Expand Down

0 comments on commit 7c810e2

Please sign in to comment.