Sha256: 044b2f2267973d481d7fde0ae4193567df04813fd4dbcd67391858b48e4fd30b
Contents?: true
Size: 1.24 KB
Versions: 2
Compression:
Stored size: 1.24 KB
Contents
name: Form file upload description: Help users select and upload a file govuk_frontend_components: - file-upload accessibility_criteria: | The component must: - accept focus - be focusable with a keyboard - be usable with a keyboard - be usable with touch - indicate when they have focus - be recognisable as input field elements - have correctly associated labels Labels use the [label component](/component-guide/label). examples: default: data: label: text: "Upload a file" name: "file-upload" with_hint: data: label: text: "Upload a file" name: "file-upload-with-hint" hint: "Your photo may be in your Pictures, Photos, Downloads or Desktop folder. Or in an app like iPhoto." with_error: data: label: text: "Upload a file" name: "file-upload-with-error" error_message: "Please upload a file" with_error_items: data: label: text: "Upload a file" name: "file-upload-with-error" error_items: - text: Descriptive link to the question with an error 1 href: '#example-error-1' with_file_accept: data: label: text: "Upload an image" name: "file-upload-specific" accept: "image/*"
Version data entries
2 entries across 2 versions & 1 rubygems