@geospatial-sdk/legend 0.0.5-dev.51 → 0.0.5-dev.53
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.
|
@@ -140,7 +140,7 @@ describe("createLegendFromLayer", () => {
|
|
|
140
140
|
it("adds accessibility attributes", async () => {
|
|
141
141
|
const result = await createLegendFromLayer(baseWmsLayer);
|
|
142
142
|
|
|
143
|
-
expect(result
|
|
144
|
-
expect(result
|
|
143
|
+
expect(result?.getAttribute("role")).toBe("region");
|
|
144
|
+
expect(result?.getAttribute("aria-label")).toBe("Map Layer Legend");
|
|
145
145
|
});
|
|
146
146
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geospatial-sdk/legend",
|
|
3
|
-
"version": "0.0.5-dev.
|
|
3
|
+
"version": "0.0.5-dev.53+85f2d77",
|
|
4
4
|
"description": "Get legend graphic from the map-context",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend"
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"build": "tsc"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@geospatial-sdk/core": "^0.0.5-dev.
|
|
33
|
+
"@geospatial-sdk/core": "^0.0.5-dev.53+85f2d77"
|
|
34
34
|
},
|
|
35
35
|
"bugs": {
|
|
36
36
|
"url": "https://github.com/camptocamp/geospatial-sdk/issues"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "85f2d770cbe0bf97a4c2c5e0650fe7712f3396c8"
|
|
39
39
|
}
|