海外TECH |
DEV Community |
Accessibility - understanding **WHY** it is important, why most people ignore it and how to persuade clients to buy in! |
https://dev.to/inhuofficial/accessibility-understanding-why-it-is-important-and-why-the-current-approach-doesn-t-make-people-implement-it-3mk3
|
Accessibility understanding WHY it is important why most people ignore it and how to persuade clients to buy in Preword The article isn t a minute read there is a long table in the middle of it it is more like If you are in a rush I have added a contents section a couple of paragraphs down but I would encourage you to at least skim read the whole article Finally there are a couple of hard truths that may shock you when said so bluntly towards the end of this article If you get triggered by that sort of thing please do not read this article I wouldn t want to upset you IntroductionYou have hopefully had somebody at some point in your tech career tell you that you must make your application website app etc accessible but did anyone ever take the time to tell you why And if you haven t had someone tell you that or you are brand new to development You must make your application website app etc accessible I have just told you and I am about to tell you why it is important Hopefully this post will explain why I put accessibility making things usable for people with disabilities at the top of my list when making any decision relating to work and if I have written it well persuade you that you should do the same For clarity though if you are looking for technical guidance there isn t any here This whole article focuses on the approaches to disability inclusion that aren t working that you may be guilty of yourself and how I approach persuading business owners that they must start considering accessibility for their own success Think of this article as a crash course in why disability and therefore accessibility often gets ignored and swept under the carpet and an approach to change that It is the foundation for a series on how to get people to take accessibility seriously ContentsWhat is in this article Just how many disabled people are there Ok I get it it is a big problem that isn t being addressed what were you saying about the wrong approach Approach Laws and litigationApproach Moral ObligationsApproach Education and demonstrationOK yet again I get it there are lots of bad approaches that don t work what do you suggest Conclusion What is in this articleThis article starts by explaining the size of the problem how many people are affected by the decisions you make regarding accessibilitythen covers why most people will never persuade you to actually do something about it finally my approach to persuading people that accessibility is important and focusing on inclusive practices helps them Hopefully by the end of it you will have a light bulb moment and join me in championing accessibility And once you do have that light bulb moment hopefully you will follow me to learn more about accessibility and benefit from some future posts on things you can do to improve the accessibility of your site as well as some articles on persuading your boss your clients and your colleagues to join you in an accessibility first mindset If you are just starting out in development take an hour or two after reading this article just to learn the basics of accessibility and what it is about It will make you conscious of where you get code examples from while you are learning and will make you a far better developer than people who do not know ignore accessibility Just how many disabled people are there This may shock you but somewhere between and of people in the world have some form of disability many people even have multiple disabilities That equates to somewhere between billion and billion people on this planet If you are one of the people who like to talk about group identities people with disabilities are the single largest minority group on the planet Start advocating for them today Why have I hardly ever interacted with someone with a disability before then You probably have and just did not realise it This is because around to of disabilities are completely invisible You generally can t see if someone has poor vision or has a hearing impairment You also cannot see if someone has a cognitive mental condition generally Also given the average age of people in tech you may only be exposed to in or even in of your friends and colleagues having a disability as the prevalence of disability increases with age If so many people have disabilities why is it not talked about more Disability can affect anybody regardless of other minority groups people may or may not belong to This makes it difficult to have a singular voice on disability and people get silenced very quickly if you try to talk about this and it doesn t fit a narrative As we aren t having the conversation nothing is changing it is that simple We need to talk about it as at the moment it gets swept under the carpet Another reason is it isn t sexy enough Companies want to virtue signal and show how wonderful and great they are it is easy to do that to one group by changing their colour scheme or promoting XXX month but disability is really broad You could have multiple sclerosis month for example but that affects only a few million people If you wanted to have a month for every disability it would take years Maybe you could have hearing impairment awareness month as that is the disability that impacts the most people in this world but that still excludes people with vision impairments cognitive impairments motor impairments disfigurements etc To illustrate this point It is far more trendy to say now serving vegan food at a restaurant about of the population than to say we have made our restaurant accessible times the number of people affected as veganism gets talked about all the time it fits the narrative that is being talked about in the media and on social media Anyway this isn t the place for any more detail on that conversation let s sum it up as politics virtue signalling and a broken narrative are the reason disability is not talked about enough Ok I get it it is a big problem that isn t being addressed what were you saying about the wrong approach Yes that is the point of the article but you did need to know how big a problem it is first Now as with a lot of things people have taken a few approaches to try and improve the situation but they don t really work Approach Laws and litigationYou probably didn t realise but your website app is illegal Now I can say that with about confidence without knowing anything about you of websites have accessibility issues that can be detected automatically and automatic detection only covers about of all accessibility issues so I am pretty confident your website has at least one accessibility issue make that accessibility issues on just the home page if it is an average site The only reason I can t offer a higher confidence level is I do not know which Country you are from If you are from an EU country the UK or the USA it is a legal requirement that your digital product is accessible I am not entirely familiar with the laws of other countries how much protection they offer and whether they apply to digital products but the list of laws that protect people with disabilities is quite large so I would imagine loads of them Skip large table on laws that protect people with disabilitiesCountryLawLanguageAfghanistanLaw on Disability Rights and PrivilegesArabicAlbaniaLaw No of June on the Status of Paraplegic and TetraplegicAlbanianLaw No on mental HealthAlbanianAlgeriaAct on the protection and promotion of persons with disabilities adopted on May Official Gazette No FrenchAndorraLaw guaranteeing the rights of persons with disabilitiesCatalanAngolaLaw of July Law on Persons with DisabilitiesPortugueseAntigua and BarbudaDisabilities And Equal Opportunities Bill EnglishArgentinaLaw No Comprehensive protection system for the disabled SpanishLaw No on accesibility for persons with limited mobilitySpanishLaw No on public telephony for the hard of eharingSpanishArmeniaLaw of the Republic of Armenia “On social protection of persons with disabilities in the Republic of Armenia adopted in EnglishAustraliaThe Disability Discrimination Act Cth DDA EnglishAustriaFederal Disability Equality Act BGBl I No GermanAzerbaijanLaw on prevention of disabilities and impaired health of children and rehabilitation and social protection of the disabled and children with impaired healthBahamasPersons with Disabilities Equal Opportunities Act EnglishBahrainLaw No of regulating the care and employment of persons with disabilities ArabicBangladeshDisability Welfare Act EnglishRights and Protection of Persons with Disabilities Act BanglaBelarusLaw of the Republic of Belarus of November No XII “On Social Protection of Disabled Persons of the Republic of Belarus RussianBelgiumReform Act on disability and introducing a new protected status in accordance with human dignityFrenchThe Act of February on disability allowancesBolivia Plurinational State of General Law for Persons with Disabilities SpanishBosnia and HerzegovinaLaws on pension and disability insuranceSerbianBrazilLaw No on Inclusion of People with Disabiltiies Person with Disabilities Statute PortugueseBrunei DarussalamOld Age and Disability Pensions Law Revised Version EnglishBulgariaLaw on the Integration of Persons with Disabilities of January EnglishBurkina FasoLaw No AN of April on the protection and promotion of the rights of persons with disabilitiesFrenchCambodiaLaw on the Protection and the Promotion of the Rights of Persons with DisabilitiesEnglish unofficial translation CameroonLaw No of April on the protection and promotion of persons with disabilitiesFrenchDecree No fixing the procedures for the application of Law N° of April on the protection and promotion of persons with disabilities EnglishCanadaServices and Supports to Promote the Social Inclusion of Persons with Developmental Disabilities Act EnglishChadLaw No PR Bearing Protection for Disabled PersonsFrenchChileLaw establishing rules on equal opportunities and social inclusion of persons with disabilities SpanishChinaThe Law of the People s Republic of China on the Protection of Disabled Persons EnglishChina Hong Kong Disability Discrimination Ordinance Cap DDO EnglishChina Macau Law M of October on the suppression of architectural barriersPortugueseColombiaEnacting Law through which the provisions are established to ensure the full exercise of the rights of persons with disabilties SpanishCook IslandsDisability Act of EnglishCosta RicaAct on Equal Opportunities for Persons with Disabilities SpanishLaw No on the Promotion of Personal Autonomy of Persons with Disabilities SpanishCroatiaLaw on the Croatian Registry of Persons with Disability CroatianLaw on Professional Rehabilitation and Employment of Persons with Disabilities EnglishDemocratic People s Republic of KoreaLaw on the Protection of Persons with DisabilitiesDominican RepublicLaw No of January on Organic Equal Rights of Persons with Disabilities SpanishEcuadorOrganic Law on Disabilities SpanishEl SalvadorLaw of Equality of Opportunities for Persons with DisabilitiesSpanishEthiopiaProclamation of the Rights to Employment for Persons with Disabilities No EnglishFijiFiji National Council for disabled Persons Act EnglishAct No of Rights of Persons with Disabilities Act EnglishFinlandDisability Services Act FinnishAct on Intellectual Disabilities FinnishFranceLaw No of February on equal rights opportunities participation and citizenship to individuals with disabilitiesFrenchGabonAct No of February on Social Protection for Persons with DisabilitiesFrenchGeorgiaLaw of Georgia of October № on Social Protection of Persons with Disabilities GeorgianGermanyBook IX of the Social Code Integration and Rehabilitation of Disabled People SGB IX GermanEquality for Persons with Disabilities Act BGG GermanGeneral Act on Equal Treatment Act AGG EnglishGhanaPersons with Disability Act Act EnglishGuatemalaDecree No on the law on the care for persons with disabilitiesSpanishHaitiLaw on the Integration of Persons with Disabilities FrenchHondurasLaw on equity and integral development for people with disabilities SpanishHungaryDisability act Act XXVI of on the rights and equal opportunities ofHungarianpersons with disabilitiesIndiaPersons with Disabilities Act EnglishIndonesiaLaw No on persons with disabilities IndonesianIran Islamic Republic of Comprehensive Law on the Protection of Persons with Disabilities of PersianIraqAct No of on Care of Persons with Disabilities and Special NeedsArabicIsraelEqual Rights for Persons with Disabilities Law the “Equal Rights Law EnglishEqual Rights for Persons with Disabilities Service Accessibility Adjustments Regulations EnglishItalyLaw Framework Law for assistance social integration and rights of the handicappedItalianLaw Norms for the right to work of the disabledItalianJamaicaDisabilities Act EnglishJapanBasic Act for Persons with Disabilities August EnglishServices and Supports for Persons with Disabilities Act June EnglishJordanLaw No for the year on the Rights of Persons with DisabilitiesEnglishKazakhstanLaw No of April on Social Protection of disabled PersonsEnglishKenyaPersons With Disabilities Act No of EnglishLatviaDisability Law LatvianLithuania Law of the Republic of Lithuania on Social Integration of Persons with DisabilitiesEnglish unofficial translation LuxemburgLaw No of July on the rights of persons with disabilities FrenchMalawiDisability Act EnglishMaldivesProtection of the Rights of Persons with Disabilities and Provision of Financial Assistance Law No MaltaEqual Opportunities Persons with Disability Act EnglishMarshall IslandsRights of Persons with disabilities Act EnglishMauritiusConstitution Article EnglishNational Council for Rehabilitation of Disabled Persons ActTraining and Employment of Disabled Persons ActEnglishMexicoGeneral Law for the Inclusion of Persons with Disabilities SpanishMonacoLaw No of December for the protection and autonomy and promotion of the rights of persons with disabilitiesFrenchMongoliaLaw on the Human Rights of Persons with Disabilities EnglishMontenegroLaw on prohibition of discrimination EnglishMyanmarPyidaungsu Hluttaw Law No Law on the Rights of Persons with DisabilitiesBurmeseNepalAct No of on the Protection and Welfare of the Disabled PersonsEnglishNetherlandsAct on Equal Treatment on the Grounds of Disability or Chronic Illness English Unofficial Translation New ZealandNew Zealand Public Health and Disability Act EnglishNicaraguaLaw No on the Rights of Persons with Disabilities SpanishNigerOrdinance No of March Ordinance No of May NigeriaDiscrimination Against Persons with Disabilities Prohibition Act EnglishNorwayAnti Discrimination and Accessibility Act No of NorwegianOmanWelfare and Rehabilitation of Persons with Disabilities Act ArabicPalauThe Disabled Person s Anti Discrimination Act EnglishPanamaLaw of May ammending Law of on Equalization of Opportunities for Persons with DisabilitiesSpanishParaguayLaw establishing benefits for employers for the incorporation of persons with disabilities in the private sectorSpanishLaw establishing rights and privileges for persons with disabilitiesSpanishPeruGeneral Law for the Inclusion of Persons with Disabilities SpanishPhilippinesRepublic Act No Magna Carta for Persons with DisabilitiesEnglishPolandAct on Vocational and Social Rehabilitation and Employment of Disabled PeoplePolishPortugalFramework Act of August General Basis of the Legal System for Prevention Habilitation Rehabilitation and Participation of Persons with DisabilitiesPortugueseQatarPersons with Special Needs Act No of EnglishRepublic of KoreaAct on the Prohibition of Discrimination of Disabled PersonsEnglishAct on Welfare of Persons with Disabilities EnglishRepublic of MoldovaLaw No of on the social inclusion of persons with disabilitiesRomanianRepublic of North MacedoniaLaw on Employment of Persons with DisabilityLaw on Civilian Invalids of WarThe Rulebook on Assessing Specific Needs of Persons with Physical or Mental DisabilitiesRomaniaLaw no Regarding the Protection and Promotion of the Rights of Disabled PersonsEnglishRussian FederationLaw No FZ of November on Social Protection of the Disabled as amended on July RussianRwandaLaw No of January Relating to the Protection of Persons with Disabilities in GeneralEnglishSaudi ArabiaDisability Law ArabicSenegalSocial orientation law no of July FrenchSerbiaLaw on Prevention of Discrimination against Persons with Disabilities LPDPD Official Gazette of RS No SerbianLaw on Professional Rehabilitation and Employment of Persons with Disabilities LPREPD Official Gazette of RS No SerbianSierra LeonePersons with Disability Act EnglishSloveniaThe Law on Vocational Rehabilitation and Employment of Persons with Disabilities ZZRZ ISlovenianThe Equalisation of Opportunities for Persons with Disabilities Act ZIMI SlovenianSouth AfricaCode of Good Practice Key Aspects on the Employment of People with DisabilitiesEnglishThe South African Library for the Blind ActEnglishSpainAct No of April on social integration of the handicapped SpanishAct No of December on equality of opportunity nondiscrimination and universal accessibility for persons with disabilities SpanishSri Lanka Protection of the Rights of Persons with Disabilities Act No EnglishSudanPersons with Disabilities Act of ArabicSwedenAct concerning Support and Service to Persons with Certain Functional Disabilities LSS EnglishSwitzerlandFederal Act on the Elimination of Discrimination against People with DisabilitiesEnglishTanzaniaPersons with Disabilities Act EnglishThailandThe Persons with Disabilities Empowerment Act B E English unofficial translation TogoAct No of April on the social protection of disabled personsFrenchTrinidad and TobagoEqual Opportunity Act of EnglishTunisiaLaw No of August on the advancement and protection of persons with disabilitiesArabicTurkeyTurkish Disability Act TDA No of EnglishUgandaPersons with Disabilities Act EnglishNational Council for Disability Act EnglishUkraineLaw “On Basics of Social Protection for the Disabled in Ukraine UkrainianUnited Arab EmiratesFederal Law No of In Respect of The Rights of People with Special NeedsEnglishUnited KingdomEquality Act EnglishUnited StatesAmericans with Disabilities Act of as amendedEnglishRehabilitation Act of As Amended Through P L Enacted December EnglishIndividuals with Disabilities Education ActEnglishUruguayLaw No General Law on Persons with Disabilities SpanishVenezuela Bolivarian Republic ofPersons with Disabilities Act of December Spanish Comprehensive Protection Act of Persons with Disabilities SpanishViet NamLaw on Persons with Disabilities No QH EnglishDecree ND CP dated April th of the Government guiding the implementation of some articles of the Law on Persons with DisabilitiesVietnameseSource UN website Disability Laws and Acts by Country Area Why laws don t workThat list is quite amazing isn t it All those laws protecting people The problem is enforcement You can write all the laws you want but if nobody enforces them then they don t do anything In a lot of Countries hardly anybody actually gets taken to court over these laws In the UK we have had wait for it total cases on digital accessibility issues and they were all settled as quietly as possible to avoid any press about it and we have had these laws since With that being said watch this space somebody not too far from you might be involved in something that may change that but they cannot talk about it yet Now America being the land of litigation is at least starting to use these laws to sue companies that make their digital products inaccessible I won t comment on the motives because any action is better than no action as far as I am concerned and the end result is all I am bothered about There is a problem with litigation though Reasonable Adjustments The UK and the US and I am sure many other Countries have a get out of jail free card for accessibility issues You only have to implement them if it does not cause undue financial stress on the company Now a good solicitor will immediately see why the battle is difficult that is a very hard thing to measure quantify An exampleWhat if Big Widget Company made £ profit last year They get taken to court over accessibility issues with their website and the cost to rectify is £ Now you might immediately think of their profits can afford that case closed But it is easy to argue that they have shareholders who expect dividends and that sort of expenditure could cause investors to withdraw damaging the company It is easy to argue that those profits need retaining for future growth and that expenditure would cause the company significant damage once again You hopefully get the idea solicitors are clever In fact if a solicitor lawyer ever reads this article feel free to show the other ways you could argue against such a flimsy exception Conclusion on lawsObviously I am just scratching the surface here and I am also over simplifying things But my opinion is that laws do not work as it is another you must and unless you actually enforce it then companies will do a risk assessment realise that their odds of having a problem are thousands to one and decide it is not worth the expense to mitigate that risk and it may shock you that I agree with that assessment The law is not a strong enough reason to implement accessibility for most companies as the risk of litigation is so low not that I don t use it as a nice persuasion technique to scare people into action Just don t tell people my little secret And I didn t even get to the worst part of people telling you that you must for legal reasons it encourages a mentality of minimum standards which is why so many people focus on WCAG compliance compliance doesn t mean a great experience but that is a conversation for one of my angry rants on accessibility when I find a new home for them Approach Moral ObligationsYou will hear lots of people telling you that you must do this as it is morally right And they are absolutely correct We need to offer a level playing field to everyone in society we should not participate in practices that exclude people In reality this approach does not work Instead of having a conversation with you like I am doing now in the hope of showing you the size of the problem they will chastise you and berate you from a moral high ground they think they occupy They will silence you if you have questions as those questions may offend they will think you are a lesser human for not knowing things in the first place You will all be familiar with this narrative unfortunately in an an effort to protect they just push the problem down the road You and I will not learn without asking these questions Neither will we learn with someone wagging their finger at us In fact for a lot of people the harder you wag a finger at them the less likely they are to engage Also let s be honest we have loads of moral obligations more and more each passing day we have our own struggles and we are just doing the best that we can We are by nature self absorbed We have families to look after personal problems financial concerns and hundred other things to deal with whatever energy we have left after all that we can dedicate to making the world a better place As you can probably tell I hold little faith in persuading you that it is your moral obligation to make accessibility a priority especially as you probably perceive the extra work of learning about accessibility as something that does not benefit you Conclusion on Moral Obligations It just won t work for most people We all want to be good human beings and help our fellow humans but we have our own priorities and they will inevitably take precedence And if you are like me but I am beginning to think I am in the minority here people chastising you and telling you that you may cause offence when exploring these issues only serves to make you less likely to explore a topic and learn Nearly every article you read on accessibility is written from a wagging your finger moral high ground is it working NO I will leave you with this thought if moral obligations to protect people were an effective argument would we have wars or famine Approach Education and demonstrationNow this one may surprise you especially as education is key to success in removing inequalities in my opinion but let me elaborate on the specific type of education that is problematic A lot of people like to run seminars that put you in other people s shoes They are workshops that allow you to experience what it is like to be blind what it is like to be a wheelchair user etc They have their place and I will often show people the severity of the problems with their websites by firing up a screen reader a piece of software that reads the website out primarily used by people with vision impairments and showing people what a person who uses a screen reader might experience on a poorly structured website The problem is if the whole focus of their presentation and their approach is to try and get you to experience disability in the hope that you will empathise and take action Do you know what this actually leads to Pity People start feeling sorry for people with disabilities People with disabilities don t want or need your pity they just want you to be considerate when designing products and services so they can use them too Pity and the approach of showing people what it is like to have a disability doesn t actually help as it has an additional negative effect it makes people think that people with disabilities are less able and things must be hard for them which inevitably leads them to moral obligations type thinking For example They cannot understand from a brief experience how someone with a sight impairment might be able to do tasks that they associate with their own sight Curiosity leads to valid questions like how can a blind person possible be a developer How can you program if you re blind Sep Comments Answers Sight is one of the senses most programmers take for granted Most programmers would spend hours looking at a computer monitor especially during times when they are in the zone but I know there are blind programmers such as T V Raman who currently works for Google If you were… Open Full Question Easy enough to answer but after experiencing disability people stop asking these sorts of questions as things seem impossible they start thinking it must be impossible for a blind person to be a developer It then adds an unconscious bias that people with disabilities are less able to complete tasks and that means that you are less likely to hire them It has further implications as you then start thinking blind people can t enjoy movies or blind people can t play video games The good intentions have had the opposite effect how can you possibly be friends with someone who can t enjoy a video game with you if you are a gamer Yes he would beat me in Mortal Kombat without even breaking a sweat and he is totally blind It makes you assume that people cannot do things because of their disability because you could not do them with a minute demonstration of what it is like living with their disability As I said earlier it has its place but only to demonstrate how your actions can exclude otherwise it actually has the opposite effect There is a second part to education that often gets abused and causes bigger problems Approach a The language policeOften when you go to some of these seminars we reach the section on appropriate language Now yet again this part is important and has its place But when people try and apply language rules as definitive you must use this word it does not work I will myself include preferred language when doing a talk on inclusion Where it goes wrong is when people start discounting views getting offended and complaining about language choice If someone was to raise the question How does a cripple get up and down stairs they would get lambasted for using a very out dated and offensive word In the UK at least we don t condone the use of the word cripple But it is easy to tell people in a polite and non condescending way that if would be better to use a different word and that their language choice was not the best Instead people try and get people who use inappropriate language silenced It gets worse than that though as they do this from the perspective of their own culture They start imposing their own cultural views on others as that is what they believe have been taught For example Handicapped is a word that people in the UK are very likely to find offensive But in America it is a perfectly acceptable term and may even be the preferred term It is funny how it can make me twitch when I hear an American talking about accessibility and disability and they use handicapped but I understand that their choice of language is appropriate in their Country This is why people need to stop trying to police language as it may cause offence but rather educate them on what may be a better choice of language Instead I always look at the intention behind a person s questions If someone asked me what do I have to do to make my business more accessible for cripples I wouldn t immediately try and correct their language choice I would educate them on wider doorways turning circles for wheelchairs unobstructed paths to facilities accessible bathrooms not leaning on a person s wheelchair when talking to them having a lower section on their bar counter for people who use a wheelchair etc Somewhere in there I would gently suggest that cripple is not a good choice of word and is no longer the socially accepted wording and that they should instead say someone who uses a wheelchair If they slipped up again I would not think anything of it just keep going with the gentle nudges in the preferred direction Final point on this I met a guy who wanted to be called Crip Kev it was an identity he had an affinity with and actual found it empowering how can you possibly police language and not offend somebody Context and situation are important so when I say preferred language I am talking about in a professional setting when addressing a general audience If you have a friend or colleague with a disability call them whatever you both agree is acceptable Conclusion on education and demonstrationEducation does have an important role to play in improving things but it needs to be careful not to introduce more problems than it solves Don t focus on trying to get people to experience disability for themselves as a sole route to trying to make them make a change instead it will actually make things harder as they will immediately dismiss certain people as unable based on their own experience of disability through simulation in comparison to their own experiences without that disability Also if someone uses out dated language don t worry about it if their question and intentions seem good Just slowly drop it in the conversation as they engage with new ideas And above all when educating let people ask questions don t attack someone for curiosity It is the only way you learn and the problem with attacking or silencing someone who is questioning things is that they stop asking questions and that is the root cause of bias and exclusion OK yet again I get it there are lots of bad approaches that don t work what do you suggest I focus on the money More accurately I focus on why thinking about accessibility has benefits to the person I am talking to Now I am going to do a whole series on how it benefits people with different roles in a company but for now I will just touch on the things I talk about to business owners I work with applicable to your company s clients A Huge marketI will focus on the size of the market of the population that they are ignoring In the UK that represents million people out of a population of million Plenty of untapped moneyI will focus on the spending power of that market £ BILLION in the UK alone which for comparison is more than the value of the UK exports each year Those two points alone are enough to make business owners wake up but there is a lot more we can say to really drive it home Not only is it a large market the largest minority group in the world but it is a market that is ignored A massive market that is mostly being ignored is a fantastic business opportunity A competitive edgeAs I said earlier of websites have accessibility errors we can detect automatically How does that translate into a competitive edge though Well what if your company was the only one with a fully accessible website in your industry Those people who struggle using your competitor s websites will hopefully find yours and keep coming back again and again recommend it to others etc And if that is hard to understand imagine if you went into shops looking for clothes and they were rude told you which products you could and couldn t buy told you things were out of stock when you can clearly see them on the shelf etc Now imagine that you went into a shop that welcomed you in showed you variations of items you liked offered you a drink while you browsed etc Which shop would you return to the next time you need clothes Higher likelihood of recommendations word of mouthThe disabled community is a close knit community the word of mouth potential is much higher with a customer with a disability than anyone else if you offer a great experience especially as people with disabilities are so used to having a poor experience In the example of different shops I gave in the previous section which would you tell your friends about for example They spend more tooOnce someone finds the shop that looks after them to milk my previous analogy to death they are likely exhausted with the poor experience they have had elsewhere They want to support the shop that looked after them and treated them well So they may see if that shop offers other items that they require The average spend basket value can be significantly higher because of this The moral high groundNow remember in point I said moral obligations is a rubbish argument for implementing accessibility Do you also remember how I said that moral posturing by companies is just that posturing for their own gain Well it is but that doesn t mean you can t use it to your advantage Imagine if you can tell people that you are inclusive and deliver on that promise Imagine being able to carefully point out that you don t virtue signal you actually do what you say Then imagine how many people who don t have a disability but either know someone who does or is conscious about inclusion would be more inclined to spend money with your company Being accessible gives you a marketing angle that very few are capitalising on Use it if you can deliver on your claims A wider pool of talentI mean most of the above is about gaining more money which is essential But what about on the other side of the equation what about employing people Well yet again I will be writing about this in detail but in a nutshell people with disabilities have less options this means that you can get talented individuals at good market rates they are likely to stay longer as they are treated equally and are used to being treated poorly excluded and because of this there are fewer options for them to jump ship to other jobs That may all sound horrendous and it is but it is a harsh reality of life You can get an amazing pool of talent with some very simple adjustments to your business attitude culture and practices I haven t even covered the diversity of your team improving creativity bit Ok wow that is quite a list for a business owner Some of the stuff in there may shock you when I say it so bluntly But that is the reality of things I cannot protect your from harsh truths Do you think a business owner who hears all of that when presented with a little more flair has any issue with putting accessibility on their agenda right near the top of priorities ConclusionSo that is my approach As far as a business owner is concerned I don t care about the law it is toothless and not something most businesses should even fear I don t care about your moral obligations there are too many moral obligations for us all to adhere to and it is draining trying to keep up I don t care if you understand what it is like to be a person with a disability in fact I would prefer you didn t as it leads to incorrect assumptions Nor do I care if you use outdated language as long as your intentions are pure All I care about is your wallet and the success of your business All I care about is showing you a massive opportunity that is being ignored although I would suggest you outsource your marketing etc Who do you think people will listen to Now you tell me who do you think a business owner is more likely to engage with People wagging fingers or someone saying look at all the benefits to you oh and you get to do some good in the world at the same time From a personal perspective a side effect of this approach is that I get to help hundreds thousands maybe even millions of people indirectly find a small corner of the internet where they are not excluded or treated like second class citizens I get to actually make a difference in the world instead of just making myself feel better with moral posturing Basically I can use this technique to trick business owners into driving change in the world that I believe in Hopefully the cover image now makes perfect sense it s a trap but a good one If you think that this approach is the way to enact real change in the world if you want to be a part of improving inclusion without the wokeness and yes I am actually toying with making that my new company mission statement then follow me ltag user id follow action button background color caa important color important border color caa important InHuOfficial Specialising in accessibility and website load speed performance If you have a question about accessibility or page speed insights ask away and I will help any way I can There will also be an angry rant version of this article for those of you who enjoy that series I just need a more appropriate place to put them that DEV to give me a couple of weeks to fix that For the Algo My new sign off experiment If you enjoyed this article give it a if you thought it was special give it a and above all don t forget Leave a comment for the algorithm Do you agree with my approach or do you think I am wrong |
2021-06-13 17:35:32 |
海外TECH |
DEV Community |
Activity Lifecycle |
https://dev.to/camaschion/activity-lifecycle-594j
|
Activity LifecycleA activity de uma aplicação ébasicamente a tela do aplicativo épor onde o usuário interage com o aplicativo a partir do layout que aparece nesta tela Toda activity tem um ciclo de vida e conforme o usuário interage com o aplicaivo essa activity passa por diferentes estados desde o momento que écriada quando o usuário entra no aplicativo atéo momento que édestruída quando o usuário fecha totalmente o aplicativo Seguindo o exemplo abaixo quando o usuário entra na aplicativo e navega por ele o comportamento das activities será No ciclo de vida da activity existem alguns métodos onCreate onPause onResume onStop onDestroy e abaixo vou resumir de forma objetiva o que cada um faz onCreate •Primeiro método a ser executado •Éexecutado uma única vez • o que quero ver na tela •Define a interface gráfica imagens texto botões que serão carregados no layout •Inicialização de variáveis imutáveis OnStart •Échamado na inicialização da activity após o onCreate e também quando uma activity que estava em background volta a ter foco •Pode ser chamada mais de uma vez •Torna a activity visível para o usuário •Énesse método que o aplicativo inicializa o código que mantém a UI user interface OnResume •Éo último método chamado antes do app estar pronto para o usuário interagir •Assim como o onStart este método échamado logo após o onCreate e também quando uma activity que estava em background volta a ter foco •Pode ser chamada mais de uma vez •A maior parte das funcionalidades do app são implementadas neste método listeners funcionalidade como mapa vídeos etc onPause •Primeiro método executado quando a aplicação deixa de estar disponível •Pode ser executado vários vezes •Chamado quando a activity perde o foco •Utilizado por exemplo para cancelar o registro de listeners parar tarefas iniciadas no onResume •Ocorre quando o usuário clica no voltar ou recentes OnStop •Chamado quando a activity não estámais visível para o usuário •Pode ser chamado várias vezes onDestroy •Chamado antes da activity ser destruída •Último método a ser executado •Limpa os recursos que ainda estejam sendo utilizados O ciclo de vida permite o gerencimento da transição de informações entre uma atividade e outra dentro do aplicativo nos auxiliam a adicionar certas características para as nossas telas Link para pesquisa e mais informações |
2021-06-13 17:34:19 |
海外TECH |
DEV Community |
Weekly Digest 23/2021 - Top of the Week |
https://dev.to/worldindev/weekly-digest-23-2021-7de
|
Weekly Digest Top of the WeekWelcome to my Weekly Digest This weekly digest contains a lot of interesting and inspiring articles videos tweets podcasts and designs I consumed during this week GiveawayWe are giving away any course you need on Udemy Any price any course To enter you have to do the following React to this post️Subscribe to our newsletterYou will receive our articles directly to your inbox Interesting articles to read How to create NFTs with JavaScriptLearn to code an NFT non fungible token using the Ethereum blockchain the Ropsten Testnet and a series of JavaScript libraries How to create NFTs with JavaScript LogRocket Blog Serving sharp images to high density screensWhy compressing images for dense screens is different and how to serve them Serving sharp images to high density screens How to update nested state in ReactState is a cornerstone of React components In this post we learn how to update nested state properties How to update nested state in React Media Queries in Times of containerWith container queries now on the horizon will we need media queries at all Media Queries in Times of container Some great videos I watched this week Automating Tests with JestWhen I think about Continuous Integration one of the first things that comes to my mind is testing It s amazing how much more confident you can be about changes to your codebase when you have a good suite of tests and you know they run before every merge by Jimmy Cleveland How to use TypeScript on big projectsWe met with Nikita Kabardin who works as a front end developer at Spotify He also worked on several Battlefield projects by Maksim Ivanov Thinking on ways to solve color schemesIn today s GUI challenge we re building dark light and dim color schemes with HSL The CSS works across modern browsers establishes foundational architecture for more themes and is accessible by Adam Argyle Hasura in SecondsLearn how Hasura can instantly turn your SQL database into a GraphQL API by Fireship Self Avoiding WalkIt s finally time to attempt a Self Avoiding Walk In this video I quickly visualize a simple JavaScript p js implementation of a self avoiding walk I then tackle the more complex problem of backtracking to find a solution to a space filling self avoiding walk by Daniel Shiffman Useful GitHub repositories React Working GroupThis is the working group for React release It was formed to provide support to the community through the release reactwg react Workgroup for React release React Working GroupThis is the working group for React release It was formed to provide support to the community through the release The working group is focused around online conversations which you can access by going to the GitHub Discussions tab The working group is currently structured to help manage discussions yet make the information available to everyone If you re looking for the first discussion to read Introducing React is a good starting point Working group participants come from a representative set of the React community including educators developers and library authors Participants can start GitHub discussions to ask questions and provide feedback on React They can also comment on existing discussion threads All discussions are public and available for everyone to follow along To learn more about the React Working Group and its mission check out The Plan for React View on GitHub React Hook FormPerformant flexible and extensible forms with easy to use validation react hook form react hook form React Hooks for forms validation Web React Native Version Version FeaturesBuilt with performance and DX in mindEmbraces native form validationOut of the box integration with UI librariesSmall size and no dependenciesFollows HTML standard for validationSupport Yup Zod Superstruct Joi Vest class validator io ts nope or customInstallnpm install react hook formLinksGet startedAPIExamplesDemoForm BuilderFAQsQuickstartimport React from react import useForm from react hook form function App const register handleSubmit formState errors useForm const onSubmit data gt console log data return lt form onSubmit handleSubmit onSubmit gt lt input register firstName gt register an input lt input … View on GitHub PrismaNext generation ORM for Node js amp TypeScript PostgreSQL MySQL MariaDB SQL Server amp SQLite prisma prisma Next generation ORM for Node js amp TypeScript PostgreSQL MySQL MariaDB SQL Server amp SQLite Prisma Quickstart • Website • Docs • Examples • Blog • Slack • Twitter • Prisma What is Prisma Prisma is a next generation ORM that consists of these tools Prisma Client Auto generated and type safe query builder for Node js amp TypeScriptPrisma Migrate Declarative data modeling amp migration systemPrisma Studio GUI to view and edit data in your databasePrisma Client can be used in any Node js or TypeScript backend application including serverless applications and microservices This can be a REST API a GraphQL API a gRPC API or anything else that needs a database Are you looking for Prisma The Prisma repository has been renamed to prisma prisma Getting startedThe fastest way to get started with Prisma is by following the Quickstart min The Quickstart is based on a preconfigured SQLite database You can also get started with your… View on GitHub cuidCollision resistant ids optimized for horizontal scaling and binary search lookup performance ericelliott cuid Collision resistant ids optimized for horizontal scaling and performance cuidCollision resistant ids optimized for horizontal scaling and binary search lookup performance Currently available for Node browsers Java Ruby Net Go and many other languages see ports below ーmore ports are welcome cuid returns a short random string with some collision busting measures Safe to use as HTML element ID s and unique server side record lookups ExampleESM import cuid from cuid console log cuid cjldcjxhqzrmnirnNode style var cuid require cuid console log cuid cjldcyuqtrmniodfoyInstalling npm install save cuidBroken down c hgsb udoc leofy The groups in order are c identifies this as a cuid and allows you to use it in html entity ids TimestampCounter a single process might generate the same random string The weaker the… View on GitHub dribbble shots Fleet Travel Shopping UI Kitby Tran Mau Tri Tam Podcast Dashboardby Umar Aji Pratama Fashion Store Mobile Appby Andri Music Mobile Appby Didarul islam Instax Mobile App Designby Anastasia Marinicheva Cargo Transportation Application Designby RD UX UI Tweets Josh W Comeau joshwcomeau By default gradients can be kinda harsh Easing gradients smooth out the transitions between colours for a natural well blended aesthetic Hopefully this ll come to CSS at some point but in the meantime we can use this awesome generator larsenwork com easing gradien… PM Jun Stefan Judis stefanjudis TIL CSS provides system colors Define background color Canvas to set a dark light background color that depends on system preferences Thx jimniels who shared this discovery on his blog Jim s post blog jim nielsen com css syste…My thoughts stefanjudis com today i learne… AM Jun Smashing Magazine smashingmag Finally A Native CSS Parent Selector Is Coming and it can do way more than that Meet has By AdrianBeceDev smashingmagazine com has na… AM Jun Visualize Value visualizevalue NFTs explained PM Jun Sam Thorogood samthor I ve revolutionized CSS AM Jun Picked Pens Bringing text to lifeby Kyle Shook Podcasts worth listening The CSS Podcast Scroll timelineIn this episode we deep dive the experimental Scroll Animations spec to bring you the breakdown on scroll timeline powered CSS animation Learn about scroll linked animations vs scroll triggered animations and how to orchestrate scroll interactions with elements of the page Syntax Making a Vaccine Bot with JavaScriptIn this Hasty Treat Scott and Wes talk about Wes experiment building a vaccine bot Hasty Treat Making a Vaccine Bot with JavaScript Minutes with Kent Prisma is amazing The Changelog Exploring Deno LandThis week we re joined by Ryan Dahl Node js creator and now the creator of Deno a simple modern and secure runtime for JavaScript and TypeScript that uses V and is built in Rust CodePen Radio Pattern LibraryStephen and Chris talk about cplibrary the Pattern Library that the CodePen Monorepo can use to share components What goes in there and what doesn t What are common and not so common components Can components be combinations of other components Thank you for reading talk to you next week and stay safe Make sure to subscribe to our newsletter to receive our weekly recap directly on your email and react to this post to automatically participate in our giveaway If you would like to join our discussions you can find us on Discord |
2021-06-13 17:12:06 |
海外TECH |
DEV Community |
How to host image for free ? and use anywhere... |
https://dev.to/hfzurahman/how-to-host-image-for-free-and-use-anywhere-22g6
|
How to host image for free and use anywhere Hello If you want to add image in codepen editor then its not going to work if you are not a pro user So using this simple trick you can host image from github and use anywhere on the internet Go to github com and create a empty repo ex host image got to issue section and create a issue Drag and drop the image you want to host Then it will generate a url Use this url to codepen or anywhere I hope you like it if you know some other tricks please share you can follow me on twitter codezada to more web dev tricks |
2021-06-13 17:09:43 |
Apple |
AppleInsider - Frontpage News |
Trump White House counsel was a subject of Apple subpoenas |
https://appleinsider.com/articles/21/06/13/trump-white-house-counsel-was-a-subject-of-apple-subpoenas?utm_medium=rss
|
Trump White House counsel was a subject of Apple subpoenasThe White House counsel to former President Donald Trump was one of the targets of Justice Department subpoenas applied against Apple for account data according to a report with the number of high profile people affected by an investigation continuing to grow On Friday it was revealed that the U S Justice Department had subpoenaed Apple for data relating to at least two House Democrats their aides and families On Sunday it seems the investigation also requested data relating to Trump White House counsel Donald F McGahn II Apple reportedly informed McGahn and his wife in May that the Justice Department had subpoenaed information about accounts they controlled in February according to unidentified people familiar with the matter speaking to the New York Times Read more |
2021-06-13 17:08:21 |
海外TECH |
Engadget |
'Psychonauts 2' finally arrives on August 25, 2021 |
https://www.engadget.com/double-fine-psychonauts-2-174656516.html?src=rss_b2c
|
august |
2021-06-13 17:46:56 |
海外TECH |
Engadget |
First 'Battlefield 2042' gameplay trailer shows tornadoes, rockets and wingsuits |
https://www.engadget.com/battlefield-2042-gameplay-trailer-174550618.html?src=rss_b2c
|
First x Battlefield x gameplay trailer shows tornadoes rockets and wingsuitsEA and DICE have shown the first gameplay from Battlefield in a trailer and those tornadoes and wingsuits are very much a part of the game |
2021-06-13 17:45:50 |
海外TECH |
Engadget |
'Contraband' is an Xbox exclusive from Just Cause developer Avalanche Studios |
https://www.engadget.com/contraband-xbox-exclusive-avalanche-studios-173820775.html?src=rss_b2c
|
x Contraband x is an Xbox exclusive from Just Cause developer Avalanche StudiosOn Saturday we got our first look at Contraband the next game from Just Cause series developer Avalanche Studios |
2021-06-13 17:38:20 |
海外TECH |
Engadget |
Pirates of the Caribbean is coming to 'Sea of Thieves’ |
https://www.engadget.com/microsoft-bethesda-sea-of-thieves-pirates-caribbean-jack-sparrow-davy-jones-173450075.html?src=rss_b2c
|
thieves |
2021-06-13 17:34:50 |
海外TECH |
Engadget |
'S.T.A.L.K.E.R. 2' is coming to Xbox Series X/S and PC on April 28th, 2022 |
https://www.engadget.com/stalker-2-release-date-xbox-series-x-s-pc-e3-172906840.html?src=rss_b2c
|
horror |
2021-06-13 17:29:06 |
海外科学 |
BBC News - Science & Environment |
Swiss voters reject key climate change measures |
https://www.bbc.co.uk/news/world-europe-57457384
|
climate |
2021-06-13 17:24:45 |
海外ニュース |
Japan Times latest articles |
G7 calls for peace across Taiwan Strait and backs Tokyo Olympics |
https://www.japantimes.co.jp/news/2021/06/14/world/g7-communique-china-taiwan/
|
emissions |
2021-06-14 02:08:33 |
ニュース |
BBC News - Home |
G7: World leaders promise one billion Covid vaccine doses for poorer nations |
https://www.bbc.co.uk/news/uk-57461640
|
criticism |
2021-06-13 17:54:39 |
ニュース |
BBC News - Home |
Queen meets Joe Biden at Windsor Castle |
https://www.bbc.co.uk/news/uk-57461257
|
afternoon |
2021-06-13 17:48:33 |
ニュース |
BBC News - Home |
Covid: Final decision on 21 June easing not taken yet, Boris Johnson says |
https://www.bbc.co.uk/news/uk-57459373
|
boris |
2021-06-13 17:37:59 |
ニュース |
BBC News - Home |
French Open 2021: Novak Djokovic outlasts Stefanos Tsitsipas for 19th Grand Slam title |
https://www.bbc.co.uk/sport/tennis/57461952
|
French Open Novak Djokovic outlasts Stefanos Tsitsipas for th Grand Slam titleNovak Djokovic wins his th Grand Slam title after fighting back from two sets down to beat Stefanos Tsitsipas in the French Open final |
2021-06-13 17:48:18 |
ニュース |
BBC News - Home |
G7 summit: Leaders pledge climate action but disappoint activists |
https://www.bbc.co.uk/news/world-57461670
|
activiststhe |
2021-06-13 17:35:48 |
ニュース |
BBC News - Home |
Swiss voters reject key climate change measures |
https://www.bbc.co.uk/news/world-europe-57457384
|
climate |
2021-06-13 17:24:45 |
海外TECH |
reddit |
Novak Djokovic is the 2021 French Open Men's Singles Champion! |
https://www.reddit.com/r/tennis/comments/nz19em/novak_djokovic_is_the_2021_french_open_mens/
|
Novak Djokovic is the French Open Men x s Singles Champion Novak Djokovic defeats Stefanos Tsitsipas to win his nd French Open and th Grand Slam title submitted by u rafaknight to r tennis link comments |
2021-06-13 17:23:44 |
コメント
コメントを投稿