File tree 3 files changed +12
-1
lines changed
3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 10
10
value-state =" {{ valueState }} "
11
11
placeholder =" {{ placeholder }} "
12
12
?disabled =" {{ disabled }} "
13
+ tabindex =" -1"
13
14
></ui5-input >
14
15
{{ /unless }}
15
16
<slot ></slot >
16
17
</div >
17
18
{{ #if _keepInputInShadowDOM }}
18
19
<input
19
20
type =" file"
20
- title =" upload file "
21
+ title =" {{ titleText }} "
21
22
accept =" {{ accept }} "
22
23
?multiple =" {{ multiple }} "
23
24
?disabled =" {{ disabled }} "
24
25
@change =" {{ _onChange }} "
26
+ aria-hidden =" true"
27
+ tabindex =" -1"
25
28
>
26
29
{{ else }}
27
30
<slot name =" formSupport" >
Original file line number Diff line number Diff line change 8
8
} from "@ui5/webcomponents-base/dist/i18nBundle.js" ;
9
9
import {
10
10
FILEUPLOAD_BROWSE ,
11
+ FILEUPLOADER_TITLE ,
11
12
} from "./generated/i18n/i18n-defaults.js" ;
12
13
import Input from "./Input.js" ;
13
14
@@ -305,6 +306,10 @@ class FileUploader extends UI5Element {
305
306
return this . i18nBundle . getText ( FILEUPLOAD_BROWSE ) ;
306
307
}
307
308
309
+ get titleText ( ) {
310
+ return this . i18nBundle . getText ( FILEUPLOADER_TITLE ) ;
311
+ }
312
+
308
313
get _canUseNativeFormSupport ( ) {
309
314
return ! ! this . attachInternals ;
310
315
}
Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ DELETE=Delete
47
47
48
48
FILEUPLOAD_BROWSE =Browse...
49
49
50
+ # XACT: File uploader title
51
+ FILEUPLOADER_TITLE =Upload File
52
+
50
53
GROUP_HEADER_TEXT =Group Header
51
54
52
55
# XTXT
You can’t perform that action at this time.
0 commit comments