Articles

Tabular data is one of the best sources of data on the web. They can store a massive amount of useful information without losing its easy-to-read format, making it gold mines for data-related projects.

Whether it is to scrape football data or extract stock market data, we can use Python to quickly access, parse and extract data from HTML tables, thanks to Requests and Beautiful Soup.

Source de l’article sur DZONE

Jakob Nielsen’s How Users Read on the Web is 25 years old this week, and one glance at an eye-tracking study will tell you its key observations are still relevant today.

Simply put, users don’t read a web page; they scan it for individual words and sentences.

A typical pattern shown in eye-tracking reports is that users will rapidly scan a page, scrolling down to do so. Then either hit the back button and pump your bounce rate, or scroll to the top and re-engage with the content.

Even when content, volume, and quality tick all the user’s boxes, and they choose to stay on your site, they still don’t read; they scan; a slightly deeper scan, but still a scan.

As a result, it’s vital to design websites to be easily scannable, both in a split-second scan to decide if your page is worth the reader’s time and on a second or third pass.

Clarify the Page’s Purpose Immediately

Every page should have a primary goal. The majority of the time, that goal is embodied in a CTA (Call to Action).

The good news is, if your SEO (Search Engine Optimisation) has gone to plan, your goal (i.e., to sell something) and your user’s goal (i.e., to buy something) will align. By clarifying the page’s purpose, you can show the user that your goals align.

You can be experimental if you’re an established company and the user knows what to expect. But if you’re new to the market or have a lower profile, you need to conform to established design patterns. This means that a SaaS should look like a SaaS, a store should look like a store, and a blog should look like a blog.

Including your CTA above the fold — which in the context of the web, means the user doesn’t have to interact to see it. Doing so makes it easier for the user to progress and clearly tells the user what you are offering.

The landing page for next month’s Webflow Conf 2022 clarifies the page’s content, with a clear CTA above the fold.

Employ a Visual Hierarchy

The Von Restorff effect states that the more something stands out, the more likely we are to notice and remember it.

Visual hierarchies are excellent for guiding a user through content. HTML has the h1–h7 heading levels — although, in reality, only h1–h4 are much use — which gives you several levels of heading that can be scanned by different readers scanning at different rates.

For example, we know that subheadings have little impact if a user diligently reads the page from top to bottom, but they are excellent for catching the eye of skim readers.

Amnesty uses very a very simple hierarchy, the only change for its subheading being increased weight. But it is enough to catch the user’s eye.

You can also create visual hierarchies with other forms of contrast; weight and color are often employed in addition to size. For accessibility and inclusive design, it’s wise to combine visual indicators when creating a hierarchy; for example, headings are usually larger, bolder, and colored.

Use Negative Space

Imagine a person standing in a crowd. Let’s say they’re wearing a red and white striped jumper and a red and white bobble hat — pretty distinctive. But if there are hundreds of other characters around them, they might be hard to spot.

Now imagine the same person dressed the same, standing on their own. How long will it take you to spot them? Even without the stripy outfit, it’s not much of a challenge.

Elements in isolation are not only easier to spot, but they pull the eye because the negative space (sometimes referred to as white space) around them creates contrast.

When using negative space, the key is to give elements enough room to breathe and attract the eye without giving them so much room that they are disassociated from the rest of your content.

Across its site, Moheim uses negative space to highlight UI elements while grouping associated content.

Use F Patterns

Users scan a page using either an F-pattern or a Z-pattern.

Because users scan your page in predictable ways, we can employ layouts that cater to this tendency.

Designers have been aware of F and Z patterns for some time, and because they’ve been used for so long, they may be self-fulfilling, with users being trained to scan a page in this fashion. However, both patterns are similar to how eyes travel from line to line in horizontal writing systems.

Whatever the cause, by placing key content along these paths, you increase the chance of capturing a user’s attention.

Kamil Barczentewicz uses a beautiful, natural layout that also conforms to a classic F pattern.

Include Images with Faces

Images are a great way of conveying brand values and making a site engaging. But when it comes to catching the eye of a user scanning your design, the best images include faces.

For example, a testimonial with an image of the customer will catch the eye more than a text-only testimonial.

The Awwwards Conference uses an animated computer with a face to capture attention. And large images of speakers making eye contact.

This is almost certainly due to social conditioning; we see a face, and we engage with it to see if it is a threat or not. Most of us naturally look to expressions of emotion to understand situations, and the distinction between a real-life person and an image hasn’t made its way into our mental programming yet.

You don’t need to use photos. Illustrations are fine. The key is to ensure there is a face in the image. That’s why illustrations of characters perform so well.

Copy Print Design

Print design is centuries older than the web, and many print applications, from newspapers to advertising, developed design elements to catch the eye of readers scanning the design.

Subheadings, lists, blockquotes, and pull quotes all catch the eye. Introductory paragraphs in a larger size or even italics draw users into the text. Shorter paragraphs encourage users to keep reading.

Horizontal rules used to delineate sections of text act as a break on eyes traveling over content with momentum. They are a good way of catching a scan-reader who is losing interest.

You can use a horizontal rule or break up your layout with bands of color that divide content sections.

Omono uses horizontal bands to highlight different sections of content.

Mass, Not Weight

We often discuss design elements as having weight; font-weight is the thickness of strokes.

But it is more helpful to think of design elements as having mass; mass creates gravity, pulling a user’s eye towards them.

The trick is to design elements with enough mass to attract the user‘s eye when scanning at speed without forcing the user to change how they engage with your content.

 

Featured image via Pexels.

Source

The post How To Make Your Designs Scannable (And Why You Should) first appeared on Webdesigner Depot.

Source de l’article sur Webdesignerdepot

Apple has released an OS update. Packaged in with it is the latest version of Safari, 16.

Expected to be released ahead of next month’s macOS 13, Safari 16 is packed with updates, making it one of the most capable browsers available.

For web designers, the significance is the forward momentum in web technologies that enable freer design work and fewer hacks to achieve complex layouts. Little by little, CSS recommendations are being implemented to the point that using JavaScript for layout is rapidly becoming as unnecessary as it is disliked.

Some of this was announced in June in the Safari 16 beta. But a lot has been added in the last couple of months. So here’s what’s new in Safari 16 today.

CSS Container Queries

The most exciting addition to Safari 16 is CSS Container Queries.

It is hard to understate how in-demand this feature has been; if you imagine an edit button on Twitter that gifted you crypto every time you corrected a typo, you’d be getting close to how popular this feature is.

Until now, media queries have detected the whole viewport. And so, if you have an element like a card, for example, that needs to change at smaller viewports, you need to calculate the available space and adapt the element’s design accordingly. Unfortunately, this frequently gets out of sync with edge cases causing more than a few headaches for front-end developers.

Media queries are severely restrictive to modern layout methods like Grid that wrap elements automatically because there is no way to detect how the elements are laid out.

Container Queries solve this by allowing you to define styles based on the size of the actual containing element; if a div is 300px wide, the contents can have one design, and if it’s 400px wide, they can have a different design—all without caring what size the whole viewport is.

This is dangerously close to OOP (Object Orientated Programming) principles and almost elevates CSS to an actual programming language. (All we need is conditional logic, and we’re there.)

The latest versions of Chrome, Edge, and now Safari (including mobile) support CSS Grid. Even discounting the rapid decline of Twitter, this is way more exciting than any edit button.

CSS Subgrid

Speaking of Grid, if you’ve built a site with it (and if you haven’t, where have you been?), you’ll know that matching elements in complex HTML structures often results in nesting grids. Matching those grids requires careful management, CSS variables, or both. With CSS Subgrid, grids can inherit grid definitions from a grid defined higher up the hierarchy.

CSS Subgrid has been supported by Firefox for a while but is not yet part of Chrome or Edge. Until there’s wider support, it’s not a practical solution, and using a fallback negates any benefit of using Subgrid. However, its introduction in Safari will surely herald rapid adoption by Google and Microsoft and moves the web forward considerably.

CSS Subgrid is likely to be a practical solution within 18 months.

AVIF Support

AVIF is an exceptionally compact image format that beats even WebP in many instances. It even allows for sequences, creating what is essentially an animated GIF but smaller, and for bitmaps.

AVIF is already supported by Chrome, with partial support in Firefox. Safari now joins them.

AVIF support is one of the more valuable additions to Safari 16 because you’re probably already serving different images inside a picture element. If so, your Safari 16 users will begin receiving a smaller payload automatically, speeding up your site and boosting UX and SEO.

Enhanced Animation

Safari 16 introduces some significant improvements in animation, but the one that catches the eye is that you can now animate CSS Grid.

Yes, let that sink in. Combine Container Queries and animation. The possibilities for hover states on elements are tantalizing.

Safari 16 also supports CSS Offset Path — known initially as CSS Motion Path — which allows you to animate elements along any defined path. This enables the kind of animated effect that previously needed JavaScript (or Flash!) to accomplish.

Chrome, Edge, and Firefox all support CSS Offset Path; the addition of Safari means it’s now a practical solution that can be deployed in the wild.

Web Inspector Extensions

Announced as part of the beta release, Web Inspector Extensions allow web developers to create extensions for Safari, just as they would for Chrome.

Web Inspector Extensions — or Safari Extensions as they’re destined to be known — can be built in HTML, CSS, and JS, so the learning curve is shallow. It’s a good route into app development for web designers.

Because the underlying technology is the same as other browser extensions, anyone who has made a Chrome, Edge, or Firefox extension will be able to port it to Safari 16+ relatively easily. As a result, there should be a rapid expansion of the available extensions.

Improved Accessibility

Accessibility is key to an effective and inclusive web. Be like Bosch: everybody counts, or nobody counts.

When testing a design for accessibility, emulators don’t cut it. In my experience, Safari has some of the most reliable accessibility settings, especially when it comes to Media Queries like prefers-reduced-movement.

Further gains in this field mean that Safari continues to be an essential tool for QA tests.

Reduced Resets

Finally, I want to throw up my hands to celebrate the reduced number of non-standard CSS appearance settings.

For years we’ve been prefacing our style sheets with elaborate resets like Normalize, designed to undo all the assumptions browser developers make about design and the UI preferences of their engineers.

Safari 16 has reportedly “Removed most non-standard CSS appearance values.” How effective this is and how much we can rely on it given the other browsers on the market remains to be seen. However, like many of Safari 16’s changes, it’s a step towards a browser that’s on the developers’ side instead of an obstacle to overcome.

Source

The post Exciting New Features in Safari 16 first appeared on Webdesigner Depot.

Source de l’article sur Webdesignerdepot

It is a common requirement to render dynamic content into our HTML page. Templating engines is a great way to support this feature. In this post, we will learn how to perform templating in NodeJS using the Express Pug view engine.

If you are new to Express, check out this post on getting started with ExpressJS.

Source de l’article sur DZONE

According to Adobe, design-led companies reported 50% more loyal customers and 41% greater market share when the design is implemented in a top-priority and high-quality manner.  It plays a multi-level role in helping not only to guide product development but also in establishing a connection with the customer by providing a well-differentiated experience.

Principles of Design Thinking

Source de l’article sur DZONE

The Jersey project is very well documented so it makes it easy to learn REST with Java. In this article I’m going to build two projects. The first project will be a very simple HTML page that presents a form to the user and then submits it to a REST project residing on the same server. The second project will be the REST part.

For this article I used the following tools:
1. Netbeans 7
2. Apache Tomcat 7
3. Jersey
4. Java

Source de l’article sur DZONE

Every day design fans submit incredible industry stories to our sister-site, Webdesigner News. Our colleagues sift through it, selecting the very best stories from the design, UX, tech, and development worlds and posting them live on the site.

The best way to keep up with the most important stories for web professionals is to subscribe to Webdesigner News or check out the site regularly. However, in case you missed a day this week, here’s a handy compilation of the top curated stories from the last seven days. Enjoy!

Advanced CSS Tricks that You Have to Know

Nnneon – SVG Generator for Futuristic-looking Glowing Shapes

The Best New CSS Features for 2022

Avatarg – Generate Beautiful Types of Avatar in One Click

I Just Spent $35,000 on a Domain. Here is Why!

10 Useful CSS Layout Generators (Grid & Flexbox)

Fffuel – A Mighty Collection of SVG Generators

Raindrop.io — All in One Bookmark Manager

My Wonderful HTML Email Workflow

3 Essential Design Trends, July 2022

My Dumbest CSS Mistakes

Source

The post Popular Design News of the Week: June 27, 2022 – July 3, 2022 first appeared on Webdesigner Depot.

Source de l’article sur Webdesignerdepot

Levallois-Perret, le 2 juin 2021 — Responsage, service spécialisé dans le conseil et l’orientation des salariés aidants et Tilia, start-up dédiée à l’accompagnement des aidants soutenue par BNP Paribas Personal Finance, annoncent que SAP, leader du marché des logiciels d’application d’entreprise, a choisi leurs solutions pour accompagner et soulager ses collaborateurs aidants dans leur quotidien.

L’aidance : un sujet majeur de l’accord inter-générationnel de SAP

C’est dans le cadre de l’accord intergénérationnel signé en fin d’année que SAP a choisi d’accompagner ses salariés aidants avec les services de Responsage et Tilia.

« De plus en plus de salariés doivent prendre soin d’un parent âgé, d’un enfant ou d’un conjoint malade ou en situation de handicap, affirme Sandra Lotode, Directrice des relations sociales. Cela a donc été une évidence de proposer aux aidants, au sein de nos dispositifs de qualité de vie au travail, une solution qui les soulage et préserve l’équilibre vie privée/vie professionnelle. »

Responsage-Tilia : la réponse idéale à la problématique de l’aidance

Expert reconnu de l’accompagnement des salariés aidants depuis 2013, Responsage accompagne les salariés tout au long de leur parcours d’aidant : entretien téléphonique/visio  pour hiérarchiser les problématiques, réponse écrite documentée en 3 jours ouvrés, calendrier de suivi personnalisé pour le montage des dossiers…. L’application Tilia offre un accès digital au service Responsage. De plus, Tilia assure la mise en œuvre et la coordination des différents prestataires nécessaires à la personne aidée.

« Le dispositif d’aide aux salariés aidants s’inscrit dans le volet social de la RSE, souligne Joël Riou, Président-Fondateur de Responsage. Soutenu par un accompagnement expert, le salarié préserve sa santé physique et mentale. Par ailleurs, grâce aux bilans anonymisés fournis par Responsage, SAP dispose d’une vision objectivée de la problématique dans l’entreprise. »

« Tilia se réjouit d’accompagner des entreprises qui inscrivent l’humain au cœur de leurs ambitions et qui font de l’aidance une priorité de leur stratégie de bien-être au travail, » indique Christine Lamidel, Fondatrice et Directrice Générale de Tilia. « Le dispositif Responsage-Tilia simplifie le quotidien des aidants et les rassure sur le bien-être de leur proche. Cela participe in fine au maintien de leur engagement professionnel, une nécessité pour rompre l’isolement auquel les aidants sont souvent confrontés. »

À propos de Responsage

Responsage accompagne les salariés aidants depuis 2013. L’entreprise compte plus de 100 clients (Danone, L’Oréal, Pernod-Ricard, Crédit Agricole, France Télévisions, Pôle emploi…) et couvre plus de 250 000 ayants droit. Responsage s’appuie sur une équipe d’assistants sociaux expérimentés, des bases de données de plus de 70 000 contacts et un outil d’aide à la rédaction expert. Les outils collectent et anonymisent dans des bilans les données sur les salariés accompagnés. L’entreprise peut ainsi orienter ses politiques sociales.

Le service est désormais élargi à l’accompagnement social global. Responsage compte parmi ses actionnaires, Bayard Presse, Danone, Babilou et le fonds d’investissement à impact social PhiTrust. Plus d’informations sur le site de Responsage.

À propos de Tilia

Tilia est un dispositif clé en main qui accompagne les entreprises et directions des ressources humaines désireuses d’épauler leurs collaborateurs confrontés à la situation d’un proche en état de dépendance. Cet accompagnement s’effectue par le biais d’une approche collective comprenant des cycles de conférences de sensibilisation à destination de tous les acteurs de l’entreprise, et d’une approche individuelle dédiée aux aidants. Le service proposé par Tilia a été élaboré dans le but d’apporter du répit aux collaborateurs contraints de conjuguer activité professionnelle et rôle d’aidant, et participer ainsi au maintien des équilibres de temps de vie au quotidien. Tilia assiste toutes les fragilités — maladie, handicap, grand-âge ou suite à un accident de la vie — en vue de faciliter le bien vivre à domicile, d’alléger le quotidien des aidants et de les rassurer quant au bien-être de leur proche fragilisé.

Tilia est une startup engagée (social business), issue d’un programme d’intrapreneuriat du Groupe BNP Paribas, développée par sa Directrice Générale et Fondatrice Christine Lamidel suite à son expérience familiale personnelle, et aujourd’hui accélérée par BNP Paribas Personal Finance. Plus d’informations sur le site Internet et le blog de Tilia. @TiliaOaidants | LinkedIn

À propos de SAP

La stratégie de SAP vise à aider chaque organisation à fonctionner en “entreprise intelligente”. En tant que leader du marché des logiciels d’application d’entreprise, nous aidons les entreprises de toutes tailles et de tous secteurs à opérer au mieux : 77 % des transactions commerciales mondiales entrent en contact avec un système SAP®. Nos technologies de Machine Learning, d’Internet des objets (IoT) et d’analytique avancées aident nos clients à transformer leurs activités en “entreprises intelligentes”. SAP permet aux personnes et aux organisations d’avoir une vision approfondie de leur business et favorise la collaboration afin qu’elles puissent garder une longueur d’avance sur leurs concurrents. Nous simplifions la technologie afin que les entreprises puissent utiliser nos logiciels comme elles le souhaitent – sans interruption. Notre suite d’applications et de services de bout en bout permet aux clients privés et publics de 25 secteurs d’activité dans le monde de fonctionner de manière rentable, de s’adapter en permanence et de faire la différence. Avec son réseau mondial de clients, partenaires, employés et leaders d’opinion, SAP aide le monde à mieux fonctionner et à améliorer la vie de chacun. Pour plus d’informations, visitez le site www.sap.com.

The post SAP choisit le tandem Responsage-Tilia pour accompagner ses salariés aidants appeared first on SAP France News.

Source de l’article sur sap.com

Svelte events are the way we add interactivity to components in Svelte. A common issue with Svelte events is adding arguments to functions called within them. For example, suppose we have a basic counter, which increases any time the user clicks on it:

HTML

 

<script> // we write export let to say that this is a property // that means we can change it later! let x = 0; const addToCounter = function() { ++x; } </script> <button id="counter" on:click={addToCounter}>{x}</button>

This works fine, but let’s say we want to change it so that we increase the counter by a certain amount whenever it is clicked. We might try changing the code to something like this:

Source de l’article sur DZONE