accessibility-insights-report 4.2.2 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/drop/index.js +115 -91
- package/package.json +3 -3
package/drop/index.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
exports["report"] = factory();
|
|
8
8
|
else
|
|
9
9
|
root["report"] = factory();
|
|
10
|
-
})(global,
|
|
10
|
+
})(global, () => {
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
@@ -287,6 +287,19 @@ var screenReaderOnly = "screen-reader-only--yQjgp";
|
|
|
287
287
|
|
|
288
288
|
/***/ }),
|
|
289
289
|
|
|
290
|
+
/***/ "./src/common/components/heading-element-for-level.scss":
|
|
291
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
292
|
+
|
|
293
|
+
"use strict";
|
|
294
|
+
__webpack_require__.r(__webpack_exports__);
|
|
295
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
296
|
+
/* harmony export */ "headingElementForLevel": () => (/* binding */ headingElementForLevel)
|
|
297
|
+
/* harmony export */ });
|
|
298
|
+
// extracted by mini-css-extract-plugin
|
|
299
|
+
var headingElementForLevel = "heading-element-for-level--OfRDW";
|
|
300
|
+
|
|
301
|
+
/***/ }),
|
|
302
|
+
|
|
290
303
|
/***/ "./src/common/components/toast.scss":
|
|
291
304
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
292
305
|
|
|
@@ -1940,13 +1953,14 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var __rest = (th
|
|
|
1940
1953
|
}
|
|
1941
1954
|
return t;
|
|
1942
1955
|
};
|
|
1943
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, exports, __webpack_require__("./src/common/react/named-fc.ts"), __webpack_require__("react")], __WEBPACK_AMD_DEFINE_RESULT__ = (function (require, exports, named_fc_1, React) {
|
|
1956
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, exports, __webpack_require__("@fluentui/react"), __webpack_require__("./src/common/react/named-fc.ts"), __webpack_require__("react"), __webpack_require__("./src/common/components/heading-element-for-level.scss")], __WEBPACK_AMD_DEFINE_RESULT__ = (function (require, exports, react_1, named_fc_1, React, styles) {
|
|
1944
1957
|
"use strict";
|
|
1945
1958
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1946
1959
|
exports.GetNextHeadingLevel = exports.HeadingElementForLevel = void 0;
|
|
1947
1960
|
exports.HeadingElementForLevel = (0, named_fc_1.NamedFC)('HeadingElementForLevel', (_a) => {
|
|
1948
1961
|
var { headingLevel } = _a, props = __rest(_a, ["headingLevel"]);
|
|
1949
|
-
|
|
1962
|
+
const newProps = Object.assign(Object.assign({}, props), { className: (0, react_1.css)(styles.headingElementForLevel, props.className) });
|
|
1963
|
+
return React.createElement(`h${headingLevel}`, newProps);
|
|
1950
1964
|
});
|
|
1951
1965
|
const GetNextHeadingLevel = (headingLevel) => {
|
|
1952
1966
|
const nextLevel = headingLevel + 1;
|
|
@@ -3105,6 +3119,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_
|
|
|
3105
3119
|
link: 'https://www.w3.org/WAI/WCAG21/Understanding/images-of-text.html',
|
|
3106
3120
|
guidanceTags: [],
|
|
3107
3121
|
},
|
|
3122
|
+
// wcag146: intentionally omitted, AAA
|
|
3108
3123
|
'WCAG 1.4.10': {
|
|
3109
3124
|
number: '1.4.10',
|
|
3110
3125
|
axeTag: 'wcag1410',
|
|
@@ -3856,15 +3871,15 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_
|
|
|
3856
3871
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3857
3872
|
// Licensed under the MIT License.
|
|
3858
3873
|
exports.styleSheet = `:root {\
|
|
3859
|
-
--black: #
|
|
3874
|
+
--black: #000;\
|
|
3860
3875
|
--light-black: #161616;\
|
|
3861
|
-
--white: #
|
|
3876
|
+
--white: #fff;\
|
|
3862
3877
|
--brand-blue: #004880;\
|
|
3863
|
-
--grey: #
|
|
3878
|
+
--grey: #333;\
|
|
3864
3879
|
--ada-brand-color: var(--brand-blue);\
|
|
3865
|
-
--primary-text:
|
|
3866
|
-
--secondary-text:
|
|
3867
|
-
--disabled-text:
|
|
3880
|
+
--primary-text: rgb(0 0 0 / 90%);\
|
|
3881
|
+
--secondary-text: rgb(0 0 0 / 70%);\
|
|
3882
|
+
--disabled-text: rgb(0 0 0 / 38%);\
|
|
3868
3883
|
--communication-primary: #106ebe;\
|
|
3869
3884
|
--communication-tint-40: #eff6fc;\
|
|
3870
3885
|
--communication-tint-30: #deecf9;\
|
|
@@ -3882,27 +3897,27 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_
|
|
|
3882
3897
|
--neutral-20: #c8c8c8;\
|
|
3883
3898
|
--neutral-30: #a6a6a6;\
|
|
3884
3899
|
--neutral-55: #6e6e6e;\
|
|
3885
|
-
--neutral-60: #
|
|
3900
|
+
--neutral-60: #666;\
|
|
3886
3901
|
--neutral-70: #3c3c3c;\
|
|
3887
3902
|
--neutral-80: var(--grey);\
|
|
3888
3903
|
--neutral-100: var(--black);\
|
|
3889
|
-
--neutral-alpha-2:
|
|
3890
|
-
--neutral-alpha-4:
|
|
3891
|
-
--neutral-alpha-6:
|
|
3892
|
-
--neutral-alpha-8:
|
|
3893
|
-
--neutral-alpha-10:
|
|
3894
|
-
--neutral-alpha-20:
|
|
3895
|
-
--neutral-alpha-30:
|
|
3896
|
-
--neutral-alpha-60:
|
|
3897
|
-
--neutral-alpha-70:
|
|
3898
|
-
--neutral-alpha-80:
|
|
3899
|
-
--neutral-alpha-90:
|
|
3904
|
+
--neutral-alpha-2: rgb(0 0 0 / 2%);\
|
|
3905
|
+
--neutral-alpha-4: rgb(0 0 0 / 4%);\
|
|
3906
|
+
--neutral-alpha-6: rgb(0 0 0 / 6%);\
|
|
3907
|
+
--neutral-alpha-8: rgb(0 0 0 / 8%);\
|
|
3908
|
+
--neutral-alpha-10: rgb(0 0 0 / 10%);\
|
|
3909
|
+
--neutral-alpha-20: rgb(0 0 0 / 20%);\
|
|
3910
|
+
--neutral-alpha-30: rgb(0 0 0 / 30%);\
|
|
3911
|
+
--neutral-alpha-60: rgb(0 0 0 / 60%);\
|
|
3912
|
+
--neutral-alpha-70: rgb(0 0 0 / 70%);\
|
|
3913
|
+
--neutral-alpha-80: rgb(0 0 0 / 80%);\
|
|
3914
|
+
--neutral-alpha-90: rgb(0 0 0 / 90%);\
|
|
3900
3915
|
--positive-outcome: #228722;\
|
|
3901
3916
|
--negative-outcome: #e81123;\
|
|
3902
3917
|
--neutral-outcome: var(--neutral-60);\
|
|
3903
|
-
--box-shadow-108:
|
|
3904
|
-
--box-shadow-132:
|
|
3905
|
-
--box-shadow-27:
|
|
3918
|
+
--box-shadow-108: rgb(0 0 0 / 10.8%);\
|
|
3919
|
+
--box-shadow-132: rgb(0 0 0 / 13.2%);\
|
|
3920
|
+
--box-shadow-27: rgb(0 0 0 / 27%);\
|
|
3906
3921
|
--screenshot-image-outline: #8b8b8b;\
|
|
3907
3922
|
--card-border: transparent;\
|
|
3908
3923
|
--card-footer-border: var(--neutral-10);\
|
|
@@ -3923,7 +3938,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_
|
|
|
3923
3938
|
--nav-link-selected: var(--communication-tint-20);\
|
|
3924
3939
|
--nav-link-expanded: var(--communication-tint-40);\
|
|
3925
3940
|
--insights-button-hover: #0179d4;\
|
|
3926
|
-
--report-footer-text: #
|
|
3941
|
+
--report-footer-text: #222;\
|
|
3927
3942
|
--landmark-contentinfo: #00a88c;\
|
|
3928
3943
|
--landmark-main: #cb2e6d;\
|
|
3929
3944
|
--landmark-complementary: #6b9d1a;\
|
|
@@ -3966,8 +3981,8 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_
|
|
|
3966
3981
|
--help-links-section-background: transparent;\
|
|
3967
3982
|
--help-links-section-border: var(--white);\
|
|
3968
3983
|
--index-circle-background: var(--communication-tint-40);\
|
|
3969
|
-
--link-hover: #
|
|
3970
|
-
--link: #
|
|
3984
|
+
--link-hover: #ff0;\
|
|
3985
|
+
--link: #ff0;\
|
|
3971
3986
|
--menu-border: var(--grey);\
|
|
3972
3987
|
--menu-item-background-active: var(--communication-tint-40);\
|
|
3973
3988
|
--menu-item-background-hover: var(--grey);\
|
|
@@ -4026,7 +4041,7 @@ button::after {\
|
|
|
4026
4041
|
}\
|
|
4027
4042
|
\
|
|
4028
4043
|
.insights-code {\
|
|
4029
|
-
font-family:
|
|
4044
|
+
font-family: menlo, consolas, courier new, monospace;\
|
|
4030
4045
|
}\
|
|
4031
4046
|
\
|
|
4032
4047
|
.ms-Spinner .ms-Spinner-circle {\
|
|
@@ -4048,8 +4063,8 @@ button::after {\
|
|
|
4048
4063
|
\
|
|
4049
4064
|
.hidden-highlight-button {\
|
|
4050
4065
|
opacity: 0;\
|
|
4051
|
-
margin:
|
|
4052
|
-
padding:
|
|
4066
|
+
margin: 0;\
|
|
4067
|
+
padding: 0;\
|
|
4053
4068
|
border: none;\
|
|
4054
4069
|
}\
|
|
4055
4070
|
\
|
|
@@ -4057,7 +4072,7 @@ button::after {\
|
|
|
4057
4072
|
border-radius: 4px;\
|
|
4058
4073
|
border: 1px solid var(--card-border);\
|
|
4059
4074
|
outline-style: \"border-style\";\
|
|
4060
|
-
box-shadow:
|
|
4075
|
+
box-shadow: 0 0.6px 1.8px var(--box-shadow-108), 0 3.2px 7.2px var(--box-shadow-132);\
|
|
4061
4076
|
margin-bottom: 16px;\
|
|
4062
4077
|
width: -moz-available;\
|
|
4063
4078
|
/* WebKit-based browsers will ignore this. */\
|
|
@@ -4090,7 +4105,7 @@ button::after {\
|
|
|
4090
4105
|
}\
|
|
4091
4106
|
\
|
|
4092
4107
|
.instance-details-card.interactive:hover {\
|
|
4093
|
-
box-shadow:
|
|
4108
|
+
box-shadow: 0 8px 10px var(--box-shadow-108), 0 8px 10px var(--box-shadow-132);\
|
|
4094
4109
|
}\
|
|
4095
4110
|
\
|
|
4096
4111
|
.report-instance-table {\
|
|
@@ -4112,15 +4127,15 @@ button::after {\
|
|
|
4112
4127
|
flex-wrap: wrap;\
|
|
4113
4128
|
padding-top: 2px;\
|
|
4114
4129
|
padding-bottom: 14px;\
|
|
4115
|
-
padding-left:
|
|
4130
|
+
padding-left: 0;\
|
|
4116
4131
|
padding-right: 20px;\
|
|
4117
4132
|
border-bottom: 0.5px solid var(--neutral-10);\
|
|
4118
4133
|
}\
|
|
4119
4134
|
.report-instance-table .row > * {\
|
|
4120
4135
|
margin-top: 12px;\
|
|
4121
|
-
margin-bottom:
|
|
4136
|
+
margin-bottom: 0;\
|
|
4122
4137
|
margin-left: 20px;\
|
|
4123
|
-
margin-right:
|
|
4138
|
+
margin-right: 0;\
|
|
4124
4139
|
padding: 0;\
|
|
4125
4140
|
}\
|
|
4126
4141
|
.report-instance-table .row:last-child {\
|
|
@@ -4155,7 +4170,7 @@ button::after {\
|
|
|
4155
4170
|
flex-wrap: wrap;\
|
|
4156
4171
|
align-items: center;\
|
|
4157
4172
|
margin-top: 16px;\
|
|
4158
|
-
margin-bottom:
|
|
4173
|
+
margin-bottom: 0;\
|
|
4159
4174
|
line-height: 24px;\
|
|
4160
4175
|
font-size: 17px;\
|
|
4161
4176
|
font-weight: 600;\
|
|
@@ -4185,7 +4200,7 @@ button::after {\
|
|
|
4185
4200
|
height: 16px;\
|
|
4186
4201
|
display: inline-block;\
|
|
4187
4202
|
border-radius: 50%;\
|
|
4188
|
-
border:
|
|
4203
|
+
border: 0 solid var(--neutral-0);\
|
|
4189
4204
|
}\
|
|
4190
4205
|
.outcome-summary-bar .fail .check-container svg circle {\
|
|
4191
4206
|
fill: var(--negative-outcome);\
|
|
@@ -4203,7 +4218,7 @@ button::after {\
|
|
|
4203
4218
|
height: 16px;\
|
|
4204
4219
|
display: inline-block;\
|
|
4205
4220
|
border-radius: 50%;\
|
|
4206
|
-
border:
|
|
4221
|
+
border: 0 solid var(--neutral-0);\
|
|
4207
4222
|
}\
|
|
4208
4223
|
.outcome-summary-bar .pass .check-container svg circle {\
|
|
4209
4224
|
fill: var(--positive-outcome);\
|
|
@@ -4224,7 +4239,7 @@ button::after {\
|
|
|
4224
4239
|
height: 16px;\
|
|
4225
4240
|
display: inline-block;\
|
|
4226
4241
|
border-radius: 50%;\
|
|
4227
|
-
border:
|
|
4242
|
+
border: 0 solid var(--neutral-0);\
|
|
4228
4243
|
}\
|
|
4229
4244
|
.outcome-summary-bar .inapplicable .check-container,\
|
|
4230
4245
|
.outcome-summary-bar .unscannable .check-container {\
|
|
@@ -4257,7 +4272,7 @@ button::after {\
|
|
|
4257
4272
|
.outcome-summary-bar .summary-bar-right-edge {\
|
|
4258
4273
|
border-top-right-radius: 2px;\
|
|
4259
4274
|
border-bottom-right-radius: 2px;\
|
|
4260
|
-
margin-right:
|
|
4275
|
+
margin-right: 0;\
|
|
4261
4276
|
}\
|
|
4262
4277
|
.outcome-summary-bar .label {\
|
|
4263
4278
|
font-weight: normal;\
|
|
@@ -4280,7 +4295,7 @@ button::after {\
|
|
|
4280
4295
|
.outcome-chip {\
|
|
4281
4296
|
height: 16px;\
|
|
4282
4297
|
color: var(--primary-text);\
|
|
4283
|
-
border-radius:
|
|
4298
|
+
border-radius: 0 8px 8px 0;\
|
|
4284
4299
|
margin: 0 4px 0 4px;\
|
|
4285
4300
|
display: inline-flex;\
|
|
4286
4301
|
align-items: center;\
|
|
@@ -4304,8 +4319,8 @@ button::after {\
|
|
|
4304
4319
|
@media screen and (forced-colors: active) {\
|
|
4305
4320
|
.outcome-chip .count {\
|
|
4306
4321
|
forced-color-adjust: none;\
|
|
4307
|
-
border-color:
|
|
4308
|
-
color:
|
|
4322
|
+
border-color: canvastext !important;\
|
|
4323
|
+
color: canvastext;\
|
|
4309
4324
|
}\
|
|
4310
4325
|
}\
|
|
4311
4326
|
.outcome-chip.outcome-chip-pass .check-container {\
|
|
@@ -4314,7 +4329,7 @@ button::after {\
|
|
|
4314
4329
|
height: 16px;\
|
|
4315
4330
|
display: inline-block;\
|
|
4316
4331
|
border-radius: 50%;\
|
|
4317
|
-
border:
|
|
4332
|
+
border: 0 solid var(--neutral-0);\
|
|
4318
4333
|
}\
|
|
4319
4334
|
.outcome-chip.outcome-chip-pass .check-container svg circle {\
|
|
4320
4335
|
fill: var(--positive-outcome);\
|
|
@@ -4347,7 +4362,7 @@ button::after {\
|
|
|
4347
4362
|
height: 16px;\
|
|
4348
4363
|
display: inline-block;\
|
|
4349
4364
|
border-radius: 50%;\
|
|
4350
|
-
border:
|
|
4365
|
+
border: 0 solid var(--neutral-0);\
|
|
4351
4366
|
}\
|
|
4352
4367
|
.outcome-chip.outcome-chip-fail .check-container svg circle {\
|
|
4353
4368
|
fill: var(--negative-outcome);\
|
|
@@ -4365,7 +4380,7 @@ button::after {\
|
|
|
4365
4380
|
height: 16px;\
|
|
4366
4381
|
display: inline-block;\
|
|
4367
4382
|
border-radius: 50%;\
|
|
4368
|
-
border:
|
|
4383
|
+
border: 0 solid var(--neutral-0);\
|
|
4369
4384
|
}\
|
|
4370
4385
|
.outcome-chip.outcome-chip-inapplicable .check-container, .outcome-chip.outcome-chip-unscannable .check-container {\
|
|
4371
4386
|
background-color: var(--neutral-outcome);\
|
|
@@ -4385,7 +4400,7 @@ button::after {\
|
|
|
4385
4400
|
height: 14px;\
|
|
4386
4401
|
display: inline-block;\
|
|
4387
4402
|
border-radius: 50%;\
|
|
4388
|
-
border:
|
|
4403
|
+
border: 0 solid var(--neutral-0);\
|
|
4389
4404
|
}\
|
|
4390
4405
|
.outcome-icon-set .outcome-icon-pass .check-container svg circle {\
|
|
4391
4406
|
fill: var(--positive-outcome);\
|
|
@@ -4407,7 +4422,7 @@ button::after {\
|
|
|
4407
4422
|
height: 14px;\
|
|
4408
4423
|
display: inline-block;\
|
|
4409
4424
|
border-radius: 50%;\
|
|
4410
|
-
border:
|
|
4425
|
+
border: 0 solid var(--neutral-0);\
|
|
4411
4426
|
}\
|
|
4412
4427
|
.outcome-icon-set .outcome-icon-fail .check-container svg circle {\
|
|
4413
4428
|
fill: var(--negative-outcome);\
|
|
@@ -4422,7 +4437,7 @@ body {\
|
|
|
4422
4437
|
}\
|
|
4423
4438
|
\
|
|
4424
4439
|
.outer-container {\
|
|
4425
|
-
box-shadow:
|
|
4440
|
+
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);\
|
|
4426
4441
|
}\
|
|
4427
4442
|
.outer-container .content-container {\
|
|
4428
4443
|
max-width: 960px;\
|
|
@@ -4430,7 +4445,7 @@ body {\
|
|
|
4430
4445
|
margin-top: 24px;\
|
|
4431
4446
|
}\
|
|
4432
4447
|
.outer-container .content-container h2 {\
|
|
4433
|
-
margin:
|
|
4448
|
+
margin: 0;\
|
|
4434
4449
|
font-size: 17px;\
|
|
4435
4450
|
line-height: 24px;\
|
|
4436
4451
|
}\
|
|
@@ -4441,7 +4456,7 @@ body {\
|
|
|
4441
4456
|
}\
|
|
4442
4457
|
\
|
|
4443
4458
|
.scan-details-section {\
|
|
4444
|
-
box-shadow:
|
|
4459
|
+
box-shadow: 0 0.3px 0.9px rgba(0, 0, 0, 0.108), 0 1.6px 3.6px rgba(0, 0, 0, 0.132);\
|
|
4445
4460
|
border-radius: 4px;\
|
|
4446
4461
|
background-color: var(--neutral-0);\
|
|
4447
4462
|
padding: 20px;\
|
|
@@ -4451,14 +4466,14 @@ body {\
|
|
|
4451
4466
|
list-style: none;\
|
|
4452
4467
|
font-size: 14px;\
|
|
4453
4468
|
line-height: 16px;\
|
|
4454
|
-
padding-left:
|
|
4469
|
+
padding-left: 0;\
|
|
4455
4470
|
display: flex;\
|
|
4456
4471
|
align-items: flex-start;\
|
|
4457
4472
|
justify-content: center;\
|
|
4458
4473
|
flex-direction: column;\
|
|
4459
4474
|
}\
|
|
4460
4475
|
.scan-details-section h3 {\
|
|
4461
|
-
margin:
|
|
4476
|
+
margin: 0;\
|
|
4462
4477
|
font-size: 17px;\
|
|
4463
4478
|
line-height: 24px;\
|
|
4464
4479
|
}\
|
|
@@ -4501,7 +4516,7 @@ body {\
|
|
|
4501
4516
|
}\
|
|
4502
4517
|
@media only screen and (max-width: 1000px) {\
|
|
4503
4518
|
.report-footer-container {\
|
|
4504
|
-
margin:
|
|
4519
|
+
margin: 0 16px 68px 16px;\
|
|
4505
4520
|
}\
|
|
4506
4521
|
}\
|
|
4507
4522
|
\
|
|
@@ -4513,11 +4528,11 @@ body {\
|
|
|
4513
4528
|
min-height: fit-content;\
|
|
4514
4529
|
align-items: center;\
|
|
4515
4530
|
background-color: var(--neutral-0);\
|
|
4516
|
-
box-shadow:
|
|
4531
|
+
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);\
|
|
4517
4532
|
}\
|
|
4518
4533
|
.report-header-command-bar .target-page {\
|
|
4519
4534
|
white-space: nowrap;\
|
|
4520
|
-
margin:
|
|
4535
|
+
margin: 0 0 0 16px;\
|
|
4521
4536
|
display: flex;\
|
|
4522
4537
|
color: var(--primary-text);\
|
|
4523
4538
|
font-family: 'Segoe UI Web (West European)','Segoe UI','-apple-system',BlinkMacSystemFont,Roboto,'Helvetica Neue',Helvetica,Ubuntu,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';\
|
|
@@ -4559,7 +4574,7 @@ body {\
|
|
|
4559
4574
|
}\
|
|
4560
4575
|
.title-section h1 {\
|
|
4561
4576
|
font-weight: 600;\
|
|
4562
|
-
margin:
|
|
4577
|
+
margin: 0 0 24px 0;\
|
|
4563
4578
|
font-size: 21px;\
|
|
4564
4579
|
line-height: 32px;\
|
|
4565
4580
|
letter-spacing: -0.02em;\
|
|
@@ -4568,6 +4583,11 @@ body {\
|
|
|
4568
4583
|
.results-container {\
|
|
4569
4584
|
margin-top: 56px;\
|
|
4570
4585
|
}\
|
|
4586
|
+
.results-container .title-container :is(h1, h2, h3, h4, h5, h6) {\
|
|
4587
|
+
font-weight: unset;\
|
|
4588
|
+
margin-block: 0;\
|
|
4589
|
+
margin-inline: 0;\
|
|
4590
|
+
}\
|
|
4571
4591
|
\
|
|
4572
4592
|
@media screen and (max-width: 640px) {\
|
|
4573
4593
|
.outcome-past-tense {\
|
|
@@ -4575,7 +4595,7 @@ body {\
|
|
|
4575
4595
|
}\
|
|
4576
4596
|
}\
|
|
4577
4597
|
.summary-section {\
|
|
4578
|
-
box-shadow:
|
|
4598
|
+
box-shadow: 0 0.3px 0.9px rgba(0, 0, 0, 0.108), 0 1.6px 3.6px rgba(0, 0, 0, 0.132);\
|
|
4579
4599
|
border-radius: 4px;\
|
|
4580
4600
|
background-color: var(--neutral-0);\
|
|
4581
4601
|
padding: 20px;\
|
|
@@ -4599,7 +4619,7 @@ body {\
|
|
|
4599
4619
|
padding-right: 16px;\
|
|
4600
4620
|
position: relative;\
|
|
4601
4621
|
}\
|
|
4602
|
-
.collapsible-container .collapsible-control[aria-expanded=true]
|
|
4622
|
+
.collapsible-container .collapsible-control[aria-expanded=true]::before, .collapsible-container .collapsible-control[aria-expanded=false]::before {\
|
|
4603
4623
|
display: inline-block;\
|
|
4604
4624
|
border-right: 1px solid var(--secondary-text);\
|
|
4605
4625
|
border-bottom: 1px solid var(--secondary-text);\
|
|
@@ -4611,7 +4631,7 @@ body {\
|
|
|
4611
4631
|
transition: transform 0.1s linear 0s;\
|
|
4612
4632
|
}\
|
|
4613
4633
|
.collapsible-container .collapsible-control {\
|
|
4614
|
-
font-family: \"Segoe UI Web (West European)\", \"Segoe UI\",
|
|
4634
|
+
font-family: \"Segoe UI Web (West European)\", \"Segoe UI\", -apple-system, BlinkMacSystemFont, Roboto, \"Helvetica Neue\", Helvetica, Ubuntu, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\
|
|
4615
4635
|
background-color: transparent;\
|
|
4616
4636
|
cursor: pointer;\
|
|
4617
4637
|
border: none;\
|
|
@@ -4622,12 +4642,12 @@ body {\
|
|
|
4622
4642
|
.collapsible-container .collapsible-control:hover {\
|
|
4623
4643
|
background-color: var(--neutral-alpha-4);\
|
|
4624
4644
|
}\
|
|
4625
|
-
.collapsible-container .collapsible-control[aria-expanded=false]
|
|
4645
|
+
.collapsible-container .collapsible-control[aria-expanded=false]::before {\
|
|
4626
4646
|
-webkit-transform: rotate(-45deg);\
|
|
4627
4647
|
-ms-transform: rotate(-45deg);\
|
|
4628
4648
|
transform: rotate(-45deg);\
|
|
4629
4649
|
}\
|
|
4630
|
-
.collapsible-container .collapsible-control[aria-expanded=true]
|
|
4650
|
+
.collapsible-container .collapsible-control[aria-expanded=true]::before {\
|
|
4631
4651
|
-webkit-transform: rotate(45deg);\
|
|
4632
4652
|
-ms-transform: rotate(45deg);\
|
|
4633
4653
|
transform: rotate(45deg);\
|
|
@@ -4663,7 +4683,11 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_
|
|
|
4663
4683
|
exports.styleSheet = void 0;
|
|
4664
4684
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4665
4685
|
// Licensed under the MIT License.
|
|
4666
|
-
exports.styleSheet = `.
|
|
4686
|
+
exports.styleSheet = `.heading-element-for-level--OfRDW {\
|
|
4687
|
+
margin-block-start: unset;\
|
|
4688
|
+
margin-block-end: unset;\
|
|
4689
|
+
}\
|
|
4690
|
+
.failed-instances-container--FqWV6 .collapsible-content {\
|
|
4667
4691
|
margin-left: 24px;\
|
|
4668
4692
|
}\
|
|
4669
4693
|
.outcome-chip-container--xYquF {\
|
|
@@ -4671,8 +4695,8 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_
|
|
|
4671
4695
|
}\
|
|
4672
4696
|
.hidden-highlight-button--PePzJ {\
|
|
4673
4697
|
opacity: 0;\
|
|
4674
|
-
margin:
|
|
4675
|
-
padding:
|
|
4698
|
+
margin: 0;\
|
|
4699
|
+
padding: 0;\
|
|
4676
4700
|
border: none;\
|
|
4677
4701
|
}\
|
|
4678
4702
|
\
|
|
@@ -4680,7 +4704,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_
|
|
|
4680
4704
|
border-radius: 4px;\
|
|
4681
4705
|
border: 1px solid var(--card-border);\
|
|
4682
4706
|
outline-style: \"border-style\";\
|
|
4683
|
-
box-shadow:
|
|
4707
|
+
box-shadow: 0 0.6px 1.8px var(--box-shadow-108), 0 3.2px 7.2px var(--box-shadow-132);\
|
|
4684
4708
|
margin-bottom: 16px;\
|
|
4685
4709
|
width: -moz-available;\
|
|
4686
4710
|
/* WebKit-based browsers will ignore this. */\
|
|
@@ -4713,7 +4737,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_
|
|
|
4713
4737
|
}\
|
|
4714
4738
|
\
|
|
4715
4739
|
.instance-details-card--R0aAh.interactive--NgYOy:hover {\
|
|
4716
|
-
box-shadow:
|
|
4740
|
+
box-shadow: 0 8px 10px var(--box-shadow-108), 0 8px 10px var(--box-shadow-132);\
|
|
4717
4741
|
}\
|
|
4718
4742
|
\
|
|
4719
4743
|
.report-instance-table--YIu0s {\
|
|
@@ -4735,15 +4759,15 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_
|
|
|
4735
4759
|
flex-wrap: wrap;\
|
|
4736
4760
|
padding-top: 2px;\
|
|
4737
4761
|
padding-bottom: 14px;\
|
|
4738
|
-
padding-left:
|
|
4762
|
+
padding-left: 0;\
|
|
4739
4763
|
padding-right: 20px;\
|
|
4740
4764
|
border-bottom: 0.5px solid var(--neutral-10);\
|
|
4741
4765
|
}\
|
|
4742
4766
|
.report-instance-table--YIu0s .row--m8TLI > * {\
|
|
4743
4767
|
margin-top: 12px;\
|
|
4744
|
-
margin-bottom:
|
|
4768
|
+
margin-bottom: 0;\
|
|
4745
4769
|
margin-left: 20px;\
|
|
4746
|
-
margin-right:
|
|
4770
|
+
margin-right: 0;\
|
|
4747
4771
|
padding: 0;\
|
|
4748
4772
|
}\
|
|
4749
4773
|
.report-instance-table--YIu0s .row--m8TLI:last-child {\
|
|
@@ -4806,7 +4830,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_
|
|
|
4806
4830
|
height: 14px;\
|
|
4807
4831
|
display: inline-block;\
|
|
4808
4832
|
vertical-align: -5%;\
|
|
4809
|
-
margin:
|
|
4833
|
+
margin: 0 2px;\
|
|
4810
4834
|
border: 1px solid var(--light-black);\
|
|
4811
4835
|
}\
|
|
4812
4836
|
.insights-fix-instruction-list--G3vyY .screen-reader-only--yQjgp {\
|
|
@@ -4828,7 +4852,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_
|
|
|
4828
4852
|
margin-bottom: 4px;\
|
|
4829
4853
|
}\
|
|
4830
4854
|
.snippet--wZrK1 {\
|
|
4831
|
-
font-family:
|
|
4855
|
+
font-family: menlo, consolas, courier new, monospace;\
|
|
4832
4856
|
white-space: normal;\
|
|
4833
4857
|
}\
|
|
4834
4858
|
div.insights-dialog-main-override--Mlek6 {\
|
|
@@ -4888,9 +4912,9 @@ div.insights-dialog-main-override--Mlek6 .dialog-body--QtJ_D {\
|
|
|
4888
4912
|
position: absolute;\
|
|
4889
4913
|
}\
|
|
4890
4914
|
div.kebab-menu-callout--o23oT {\
|
|
4891
|
-
box-shadow:
|
|
4915
|
+
box-shadow: 0 6.4px 14.4px var(--box-shadow-132), 0 1.2px 3.6px var(--box-shadow-108);\
|
|
4892
4916
|
border-radius: 4px;\
|
|
4893
|
-
border-width:
|
|
4917
|
+
border-width: 0;\
|
|
4894
4918
|
}\
|
|
4895
4919
|
div.kebab-menu-callout--o23oT > div {\
|
|
4896
4920
|
border-radius: 4px;\
|
|
@@ -5009,7 +5033,7 @@ ul.instance-details-list--xiPPL > li:last-child {\
|
|
|
5009
5033
|
margin-bottom: 16px;\
|
|
5010
5034
|
padding: 14px 20px;\
|
|
5011
5035
|
background-color: var(--neutral-0);\
|
|
5012
|
-
box-shadow:
|
|
5036
|
+
box-shadow: 0 0.3px 0.9px rgba(0, 0, 0, 0.108), 0 1.6px 3.6px rgba(0, 0, 0, 0.132);\
|
|
5013
5037
|
border-radius: 4px;\
|
|
5014
5038
|
border: 1px solid var(--card-border);\
|
|
5015
5039
|
line-height: 20px;\
|
|
@@ -5051,7 +5075,7 @@ ul.instance-details-list--xiPPL > li:last-child {\
|
|
|
5051
5075
|
}\
|
|
5052
5076
|
\
|
|
5053
5077
|
.collapsible-rule-details-group--h0lvd {\
|
|
5054
|
-
box-shadow:
|
|
5078
|
+
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);\
|
|
5055
5079
|
}\
|
|
5056
5080
|
.collapsible-rule-details-group--h0lvd .rule-detail {\
|
|
5057
5081
|
box-shadow: unset;\
|
|
@@ -5099,7 +5123,7 @@ ul.instance-details-list--xiPPL > li:last-child {\
|
|
|
5099
5123
|
bottom: 2px;\
|
|
5100
5124
|
}\
|
|
5101
5125
|
.result-section--j6fYr > h2 {\
|
|
5102
|
-
margin:
|
|
5126
|
+
margin: 0;\
|
|
5103
5127
|
font-size: 17px;\
|
|
5104
5128
|
line-height: 24px;\
|
|
5105
5129
|
}\
|
|
@@ -5138,11 +5162,11 @@ ul.instance-details-list--xiPPL > li:last-child {\
|
|
|
5138
5162
|
min-height: fit-content;\
|
|
5139
5163
|
align-items: center;\
|
|
5140
5164
|
background-color: var(--neutral-0);\
|
|
5141
|
-
box-shadow:
|
|
5165
|
+
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);\
|
|
5142
5166
|
}\
|
|
5143
5167
|
.report-header-command-bar--wDg1t .target-page--giudb {\
|
|
5144
5168
|
white-space: nowrap;\
|
|
5145
|
-
margin:
|
|
5169
|
+
margin: 0 0 0 16px;\
|
|
5146
5170
|
display: flex;\
|
|
5147
5171
|
color: var(--primary-text);\
|
|
5148
5172
|
font-family: 'Segoe UI Web (West European)','Segoe UI','-apple-system',BlinkMacSystemFont,Roboto,'Helvetica Neue',Helvetica,Ubuntu,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';\
|
|
@@ -5179,7 +5203,7 @@ ul.instance-details-list--xiPPL > li:last-child {\
|
|
|
5179
5203
|
color: var(--primary-text);\
|
|
5180
5204
|
}\
|
|
5181
5205
|
.urls-summary-section--DjUWc {\
|
|
5182
|
-
box-shadow:
|
|
5206
|
+
box-shadow: 0 0.3px 0.9px rgba(0, 0, 0, 0.108), 0 1.6px 3.6px rgba(0, 0, 0, 0.132);\
|
|
5183
5207
|
border-radius: 4px;\
|
|
5184
5208
|
background-color: var(--neutral-0);\
|
|
5185
5209
|
padding: 20px;\
|
|
@@ -5210,7 +5234,7 @@ ul.instance-details-list--xiPPL > li:last-child {\
|
|
|
5210
5234
|
line-height: 24px;\
|
|
5211
5235
|
}\
|
|
5212
5236
|
.crawl-details-section--WhRL4 {\
|
|
5213
|
-
box-shadow:
|
|
5237
|
+
box-shadow: 0 0.3px 0.9px rgba(0, 0, 0, 0.108), 0 1.6px 3.6px rgba(0, 0, 0, 0.132);\
|
|
5214
5238
|
border-radius: 4px;\
|
|
5215
5239
|
background-color: var(--neutral-0);\
|
|
5216
5240
|
padding: 20px;\
|
|
@@ -5220,7 +5244,7 @@ ul.instance-details-list--xiPPL > li:last-child {\
|
|
|
5220
5244
|
list-style: none;\
|
|
5221
5245
|
font-size: 14px;\
|
|
5222
5246
|
line-height: 16px;\
|
|
5223
|
-
padding-left:
|
|
5247
|
+
padding-left: 0;\
|
|
5224
5248
|
display: flex;\
|
|
5225
5249
|
align-items: flex-start;\
|
|
5226
5250
|
justify-content: center;\
|
|
@@ -5265,9 +5289,9 @@ ul.instance-details-list--xiPPL > li:last-child {\
|
|
|
5265
5289
|
}\
|
|
5266
5290
|
.summary-results-table--Pb4_B {\
|
|
5267
5291
|
width: 100%;\
|
|
5268
|
-
margin:
|
|
5292
|
+
margin: 0;\
|
|
5269
5293
|
text-align: left;\
|
|
5270
|
-
border-spacing:
|
|
5294
|
+
border-spacing: 0;\
|
|
5271
5295
|
border-collapse: collapse;\
|
|
5272
5296
|
font-size: 14px;\
|
|
5273
5297
|
line-height: 20px;\
|
|
@@ -5305,7 +5329,7 @@ span.fix-instruction-color-box--Xq1E4 {\
|
|
|
5305
5329
|
height: 14px;\
|
|
5306
5330
|
display: inline-block;\
|
|
5307
5331
|
vertical-align: -5%;\
|
|
5308
|
-
margin:
|
|
5332
|
+
margin: 0 2px;\
|
|
5309
5333
|
border: 1px solid var(--light-black);\
|
|
5310
5334
|
}\
|
|
5311
5335
|
\
|
|
@@ -6236,7 +6260,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_
|
|
|
6236
6260
|
/***/ "./src/reports/components/report-sections/report-collapsible-container.tsx":
|
|
6237
6261
|
/***/ ((module, exports, __webpack_require__) => {
|
|
6238
6262
|
|
|
6239
|
-
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, exports, __webpack_require__("@fluentui/utilities"), __webpack_require__("./src/common/react/named-fc.ts"), __webpack_require__("react")], __WEBPACK_AMD_DEFINE_RESULT__ = (function (require, exports, utilities_1, named_fc_1, React) {
|
|
6263
|
+
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, exports, __webpack_require__("@fluentui/utilities"), __webpack_require__("./src/common/components/heading-element-for-level.tsx"), __webpack_require__("./src/common/react/named-fc.ts"), __webpack_require__("react")], __WEBPACK_AMD_DEFINE_RESULT__ = (function (require, exports, utilities_1, heading_element_for_level_1, named_fc_1, React) {
|
|
6240
6264
|
"use strict";
|
|
6241
6265
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6242
6266
|
exports.ReportCollapsibleContainerControl = void 0;
|
|
@@ -6245,7 +6269,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_
|
|
|
6245
6269
|
const contentId = `content-container-${id}` + (props.testKey ? `-${props.testKey}` : '');
|
|
6246
6270
|
const outerDivClassName = (0, utilities_1.css)('collapsible-container', containerClassName, 'collapsed');
|
|
6247
6271
|
return (React.createElement("div", { className: outerDivClassName },
|
|
6248
|
-
React.createElement(
|
|
6272
|
+
React.createElement(heading_element_for_level_1.HeadingElementForLevel, { headingLevel: headingLevel, className: "title-container" },
|
|
6249
6273
|
React.createElement("button", { className: "collapsible-control", "aria-expanded": "false", "aria-controls": contentId, "aria-label": buttonAriaLabel }, header)),
|
|
6250
6274
|
React.createElement("div", { id: contentId, className: "collapsible-content", "aria-hidden": "true" }, content)));
|
|
6251
6275
|
});
|
|
@@ -7537,7 +7561,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_
|
|
|
7537
7561
|
/***/ "./src/scanner/custom-rules/css-content-rule.ts":
|
|
7538
7562
|
/***/ ((module, exports, __webpack_require__) => {
|
|
7539
7563
|
|
|
7540
|
-
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, exports, __webpack_require__("axe-core")], __WEBPACK_AMD_DEFINE_RESULT__ = (function (require, exports,
|
|
7564
|
+
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, exports, __webpack_require__("axe-core")], __WEBPACK_AMD_DEFINE_RESULT__ = (function (require, exports, axe_core_1) {
|
|
7541
7565
|
"use strict";
|
|
7542
7566
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7543
7567
|
exports.cssContentConfiguration = void 0;
|
|
@@ -7572,7 +7596,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_
|
|
|
7572
7596
|
const element = elements.item(index);
|
|
7573
7597
|
const beforeStyles = window.getComputedStyle(element, ':before');
|
|
7574
7598
|
const afterStyles = window.getComputedStyle(element, ':after');
|
|
7575
|
-
if (
|
|
7599
|
+
if (axe_core_1.default.commons.dom.isVisible(element) &&
|
|
7576
7600
|
(hasContent(beforeStyles) || hasContent(afterStyles))) {
|
|
7577
7601
|
pseudoElements.push(element);
|
|
7578
7602
|
}
|
|
@@ -7588,7 +7612,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_
|
|
|
7588
7612
|
/***/ "./src/scanner/custom-rules/css-positioning-rule.ts":
|
|
7589
7613
|
/***/ ((module, exports, __webpack_require__) => {
|
|
7590
7614
|
|
|
7591
|
-
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, exports, __webpack_require__("axe-core")], __WEBPACK_AMD_DEFINE_RESULT__ = (function (require, exports,
|
|
7615
|
+
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, exports, __webpack_require__("axe-core")], __WEBPACK_AMD_DEFINE_RESULT__ = (function (require, exports, axe_core_1) {
|
|
7592
7616
|
"use strict";
|
|
7593
7617
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7594
7618
|
exports.cssPositioningConfiguration = void 0;
|
|
@@ -7611,7 +7635,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_
|
|
|
7611
7635
|
};
|
|
7612
7636
|
function matches(node) {
|
|
7613
7637
|
const nodeStyle = window.getComputedStyle(node);
|
|
7614
|
-
return (
|
|
7638
|
+
return (axe_core_1.default.commons.dom.isVisible(node) &&
|
|
7615
7639
|
(isAbsolutePosition(nodeStyle) || isRightFloat(nodeStyle)));
|
|
7616
7640
|
}
|
|
7617
7641
|
function isAbsolutePosition(nodeStyle) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "accessibility-insights-report",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"description": "Accessibility Insights Report",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@fluentui/react": "^8.49.6",
|
|
22
|
-
"axe-core": "4.
|
|
22
|
+
"axe-core": "4.4.1",
|
|
23
23
|
"classnames": "^2.3.1",
|
|
24
24
|
"lodash": "^4.17.21",
|
|
25
|
-
"luxon": "^2.3.
|
|
25
|
+
"luxon": "^2.3.2",
|
|
26
26
|
"react": "^16.14.0",
|
|
27
27
|
"react-dom": "^16.14.0",
|
|
28
28
|
"react-helmet": "^6.1.0",
|