oswaldlabsopensource / agastya Goto Github PK
View Code? Open in Web Editor NEW♿ Oswald Labs' web accessibility plugin
License: MIT License
♿ Oswald Labs' web accessibility plugin
License: MIT License
Looks like some Google Translate API's have changed and therefore Agastya's translations have stopped working.
<a mat-button>My Text</a>
<mat-nav-list role="navigation">
<a mat-list-item>Second Text</a>
</mat-nav-list>
Work as expected, i.e. apply certain CSS styles to these items (mat-button, mat-list-item [which is also mat-button], and display correctly as other elements.
Using button of Angular Material there's just a rectangle of certain colour, without distinguishing that there's a text inside. The easiest how does it works is to check the screenshots below (the same behaviour is with Night mode). On the pictures sidebar is used as a mobile menu, whilst toolbar as a menu for desktop.
Looks like Agastya access window
explicitly, thus when using Server-Side Rendering (SSR) (e.g. Angular Universal) it breaks with the following error ReferenceError: window is not defined
. Maybe it would be a good to add in the documentation for the workaround?
Using Express.js approach, see issue#830(comment)
Using NestJS approach applyDomino
does works like so:
import { AngularUniversalModule, applyDomino } from '@nestjs/ng-universal';
import { join } from 'path';
import { Module } from '@nestjs/common';
const BROWSER_DIR = join(process.cwd(), 'dist/path/to/browser');
applyDomino(global, join(BROWSER_DIR, 'index.html'));
@Module({
imports: [
AngularUniversalModule.forRoot({
bundle: require('dist/path/to/server/main'), // Bundle is created dynamically during build process.
liveReload: true,
viewsPath: BROWSER_DIR
})
]
})
export class AppModule {}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.