Skip to content

Conversation

IbenTesara
Copy link
Contributor

No description provided.

@IbenTesara IbenTesara added the enhancement New feature or request label Nov 14, 2024
@IbenTesara IbenTesara added this to the ngx-layout:v18.4.0 milestone Nov 14, 2024
@IbenTesara IbenTesara self-assigned this Nov 14, 2024
@IbenTesara IbenTesara added the ngx-layout @studiohyperdrive/ngx-layout label Nov 14, 2024
@IbenTesara
Copy link
Contributor Author

@ekincia @WHeirstrate @DenisValcke

Once we all given our okay on the default text, we'll look into adding more languages 👍

@IbenTesara IbenTesara force-pushed the feat/ngx-layout/265-studiohyperdrivengx-layout-wai-ariawcag-compliance-for-configurable-layout branch from 4f9e026 to eb5f329 Compare November 14, 2024 09:43
[cdkDropListEnterPredicate]="beforeDrop.bind(this)"
(cdkDropListDropped)="drop($event)"
>
@for (item of row; track item; let index = $index) { @if (itemTemplateRecord()[item.key]) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The formatting seems to be messed up here. Maybe we should prioritise getting the linter set up properly?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a thing we need to tackle the moment we bring in all the other packages?

'[attr.tabIndex]': 'tabIndex()',
},
})
export class NgxAccessibleDragAndDropItemDirective extends NgxHasFocusDragAndDropDirective {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm gonna be honest, I don't really like the fact that Accessible is always visible in the services, directives and types. Yes, we focus on the a11y, but should it be this explicitly mentioned in each name?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean, the sole purpose of these directives, types and services is accessibility... They serve no other purpose than that; I don't understand why we'd not include it in the name? 😅

It's not like we do this with everything we do, this is just 100% intended for accessible drag and drop, I think the intention should be clear here.

return this.containers.find((container) => container.index === index);
}

ngAfterViewInit() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Member visibility & return type are missing here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an EsLint rule for that somewhere? Might be good to add it to the list ;P

@IbenTesara IbenTesara force-pushed the feat/ngx-layout/265-studiohyperdrivengx-layout-wai-ariawcag-compliance-for-configurable-layout branch from eb5f329 to 7556932 Compare November 20, 2024 12:28
@IbenTesara IbenTesara force-pushed the feat/ngx-layout/265-studiohyperdrivengx-layout-wai-ariawcag-compliance-for-configurable-layout branch 5 times, most recently from 85d1c9a to 54a7571 Compare November 21, 2024 14:57
@IbenTesara IbenTesara force-pushed the feat/ngx-layout/265-studiohyperdrivengx-layout-wai-ariawcag-compliance-for-configurable-layout branch from 54a7571 to 5373e7e Compare November 25, 2024 12:14
@IbenTesara IbenTesara merged commit f584d14 into master Nov 25, 2024
@IbenTesara IbenTesara deleted the feat/ngx-layout/265-studiohyperdrivengx-layout-wai-ariawcag-compliance-for-configurable-layout branch November 25, 2024 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request ngx-layout @studiohyperdrive/ngx-layout

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@studiohyperdrive/ngx-layout: WAI-ARIA/WCAG compliance for configurable layout

3 participants