File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,13 +66,18 @@ const numberFormatter = useNumberFormatter()
6666 </component >
6767
6868 <div class =" relative z-1" >
69- <input
70- data-package-card-checkbox
71- class =" md:opacity-0 group-focus-within:opacity-100 checked:opacity-100 md:group-hover:opacity-100 size-4 cursor-pointer accent-accent border border-fg-muted/30 hover:border-accent transition-colors"
72- type =" checkbox"
73- :checked =" isSelected"
74- @change =" togglePackageSelection(result)"
75- />
69+ <label >
70+ <span class =" sr-only" >
71+ {{ $t('package.card.select') }}
72+ </span >
73+ <input
74+ data-package-card-checkbox
75+ class =" md:opacity-0 group-focus-within:opacity-100 checked:opacity-100 md:group-hover:opacity-100 size-4 cursor-pointer accent-accent border border-fg-muted/30 hover:border-accent transition-colors"
76+ type =" checkbox"
77+ :checked =" isSelected"
78+ @change =" togglePackageSelection(result)"
79+ />
80+ </label >
7681 </div >
7782 </header >
7883
Original file line number Diff line number Diff line change @@ -203,13 +203,18 @@ const allMaintainersText = computed(() => {
203203
204204 <td class =" pe-2 relative z-1" >
205205 <div class =" flex items-center justify-center h-full" >
206- <input
207- data-package-card-checkbox
208- class =" md:opacity-0 group-focus-within:opacity-100 checked:opacity-100 md:group-hover:opacity-100 size-4 cursor-pointer accent-accent border border-fg-muted/30 hover:border-accent transition-colors"
209- type =" checkbox"
210- :checked =" isSelected"
211- @change =" togglePackageSelection(result)"
212- />
206+ <label >
207+ <span class =" sr-only" >
208+ {{ $t('package.card.select') }}
209+ </span >
210+ <input
211+ data-package-card-checkbox
212+ class =" md:opacity-0 group-focus-within:opacity-100 checked:opacity-100 md:group-hover:opacity-100 size-4 cursor-pointer accent-accent border border-fg-muted/30 hover:border-accent transition-colors"
213+ type =" checkbox"
214+ :checked =" isSelected"
215+ @change =" togglePackageSelection(result)"
216+ />
217+ </label >
213218 </div >
214219 </td >
215220 </tr >
Original file line number Diff line number Diff line change 284284 "published" : " Published" ,
285285 "weekly_downloads" : " Weekly downloads" ,
286286 "keywords" : " Keywords" ,
287- "license" : " License"
287+ "license" : " License" ,
288+ "select" : " Select package"
288289 },
289290 "versions" : {
290291 "title" : " Versions" ,
Original file line number Diff line number Diff line change 858858 },
859859 "license" : {
860860 "type" : " string"
861+ },
862+ "select" : {
863+ "type" : " string"
861864 }
862865 },
863866 "additionalProperties" : false
Original file line number Diff line number Diff line change 283283 "published" : " Published" ,
284284 "weekly_downloads" : " Weekly downloads" ,
285285 "keywords" : " Keywords" ,
286- "license" : " License"
286+ "license" : " License" ,
287+ "select" : " Select package"
287288 },
288289 "versions" : {
289290 "title" : " Versions" ,
Original file line number Diff line number Diff line change 283283 "published" : " Published" ,
284284 "weekly_downloads" : " Weekly downloads" ,
285285 "keywords" : " Keywords" ,
286- "license" : " License"
286+ "license" : " License" ,
287+ "select" : " Select package"
287288 },
288289 "versions" : {
289290 "title" : " Versions" ,
You can’t perform that action at this time.
0 commit comments