Skip to content

Commit 9790dc2

Browse files
authored
fix(pagination): adjust aria label defaults. Fixes #2508 (#2529)
1 parent bde5640 commit 9790dc2

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

src/components/pagination-nav/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@
77
"slots": [
88
{
99
"name": "first-text",
10-
"description": "The \"goto first page\" button text (html/sub-components supported)"
10+
"description": "The \"go to first page\" button text (html/sub-components supported)"
1111
},
1212
{
1313
"name": "prev-text",
14-
"description": "The \"goto previous page\" button text (html/sub-components supported)"
14+
"description": "The \"go to previous page\" button text (html/sub-components supported)"
1515
},
1616
{
1717
"name": "next-text",
18-
"description": "The \"goto next page\" button text (html/sub-components supported)"
18+
"description": "The \"go to next page\" button text (html/sub-components supported)"
1919
},
2020
{
2121
"name": "last-text",
22-
"description": "The \"goto last page\" button text (html/sub-components supported)"
22+
"description": "The \"go to last page\" button text (html/sub-components supported)"
2323
},
2424
{
2525
"name": "ellipsis-text",
26-
"description": " | the '...' indicator text (html/sub-components supported)"
26+
"description": "The '...' indicator text (html/sub-components supported)"
2727
}
2828
]
2929
}

src/components/pagination/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,23 @@
2929
"slots": [
3030
{
3131
"name": "first-text",
32-
"description": "The \"goto first page\" button content (html/sub-components supported)"
32+
"description": "The \"go to first page\" button content (html/sub-components supported)"
3333
},
3434
{
3535
"name": "prev-text",
36-
"description": "The \"goto previous page\" button content (html/sub-components supported)"
36+
"description": "The \"go to previous page\" button content (html/sub-components supported)"
3737
},
3838
{
3939
"name": "next-text",
40-
"description": "The \"goto next page\" button content (html/sub-components supported)"
40+
"description": "The \"go to next page\" button content (html/sub-components supported)"
4141
},
4242
{
4343
"name": "last-text",
44-
"description": "The \"goto last page\" button content (html/sub-components supported)"
44+
"description": "The \"go to last page\" button content (html/sub-components supported)"
4545
},
4646
{
4747
"name": "ellipsis-text",
48-
"description": " | the '...' indicator content (html/sub-components supported)"
48+
"description": "The '...' indicator content (html/sub-components supported)"
4949
}
5050
]
5151
}

src/mixins/pagination.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,39 +102,39 @@ const props = {
102102
},
103103
labelFirstPage: {
104104
type: String,
105-
default: 'Goto first page'
105+
default: 'Go to first page'
106106
},
107107
firstText: {
108108
type: String,
109109
default: '«'
110110
},
111111
labelPrevPage: {
112112
type: String,
113-
default: 'Goto previous page'
113+
default: 'Go to previous page'
114114
},
115115
prevText: {
116116
type: String,
117117
default: '‹'
118118
},
119119
labelNextPage: {
120120
type: String,
121-
default: 'Goto next page'
121+
default: 'Go to next page'
122122
},
123123
nextText: {
124124
type: String,
125125
default: '›'
126126
},
127127
labelLastPage: {
128128
type: String,
129-
default: 'Goto last page'
129+
default: 'Go to last page'
130130
},
131131
lastText: {
132132
type: String,
133133
default: '»'
134134
},
135135
labelPage: {
136136
type: String,
137-
default: 'Goto page'
137+
default: 'Go to page'
138138
},
139139
hideEllipsis: {
140140
type: Boolean,

0 commit comments

Comments
 (0)