(v0.17.0) The one with the drawer
Contributors
This release was made possible by the following contributors:
- @100stacks
- @cathysiller
- @CITguy
- @lfielder (reporting bugs)
⚠️ Known Issues
Degraded Experience on pre-Chromium Microsoft Browsers
Due to limitations of IE and Edge 12-18, there are some known acceptable degradations in user experience.
- Each File Input component requires pressing the Tab key twice to "tab past" them.
- This is because Windows renders
<input type="file">as two separate UI widgets. - Each UI widget is added to the document tab order.
- a read-only text input widget (why they didn't use a label, I've no idea)
- a button to trigger the file selector dialog
- This is because Windows renders
- The "pressed" style is not applied, when activating a File Input via keyboard.
input[type="file"]:activenever matches on keyboard activation
🚨 Breaking Changes
File Input
Implementation of the <hx-file-input> element has changed to align with our form control implementation strategy to allow progressive enhancement while remaining accessible.
As such, interaction logic for <hx-file-input> has been removed, converting the element into a purely stylistic facade.
before
<hx-file-input
icon="upload"
label="Upload File">
<input type="file" />
</hx-file-input>after
<hx-file-control>
<input
id="fileInputDemo"
type="file"
/>
<label for="fileInputDemo">
<hx-file-input
class="hxBtn"
icon="upload">
Upload File
</hx-file-input>
</label>
</hx-file-control>
